Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail9710.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail9710.d(9): Error: static variable `e` cannot be read at compile time
5 ---
6 */
7
8 int* e;
9 enum v = e[1];