Sign in
gnu
/
gcc
/
7ff47281ce4f3699185b06a3430968eac2a5b0c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
test16381.d
blob: ed591bd31dc0327d0d66f79e53763333ff62fb51 [
file
] [
log
] [
blame
]
/*
REQUIRED_ARGS: -m64
PERMUTE_ARGS:
TEST_OUTPUT:
---
fail_compilation/test16381.d(16): Error: foo() is not an lvalue
---
*/
// https://issues.dlang.org/show_bug.cgi?id=16381
__vector
(
float
[
4
])
foo
();
void
bar
()
{
float
g
=
foo
().
ptr
[
0
];
}