d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / diag8178.d
blob00cac985b13c6facf71908c7a15f17a88fafec67
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag8178.d(14): Error: cannot modify manifest constant `s`
5 ---
6 */
8 struct Foo
10 enum string s = "";
12 void main()
14 Foo.s = "";