mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
10 lines
225 B
D
10 lines
225 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag9765.d(9): Error: cannot implicitly convert expression `'x'` of type `char` to `char[]`
|
|
---
|
|
*/
|
|
|
|
struct S9765 { char[] x; }
|
|
const S9765 s9765 = S9765('x');
|
|
const char s9765b = s9765.x;
|