blob: 49df470677757191ec0a63b28c2b4a8d8097e70b [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail19897.d(12): Error: cannot implicitly convert expression `a.x` of type `const(char[0])` to `const(char)`
---
*/
struct S
{
char[0] x;
}
const a = S('a');
const char c = a.x;