Sign in
gnu
/
gcc
/
7ff47281ce4f3699185b06a3430968eac2a5b0c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag12598.d
blob: 236692d3866934943909da82855367a6f36be315 [
file
] [
log
] [
blame
]
/*
REQUIRED_ARGS: -transition=import
TEST_OUTPUT:
---
fail_compilation/diag12598.d(14): Error: struct 'lines' is a type, not an lvalue
---
*/
class
C
{
void
f
()
{
import
imports
.
diag12598a
;
lines
~=
""
;
}
string
[]
lines
;
}
void
main
()
{
}