Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail19897.d
blob: 8dd4e149a87779b250e3e197da74898a3e17b8f4 [
file
] [
log
] [
blame
]
// PERMUTE_ARGS:
/*
TEST_OUTPUT
---
fail_compilation/fail19897.d(10): Error: cannot implicitly convert expression `[]` of type `const(char[0])` to `const(char)`
---
*/
struct
S
{
char
[
0
]
x
;
}
const
a
=
S
(
'a'
);
const
char
c
=
a
.
x
;