Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail14416.d(13): Error: template `S(T)` does not have property `sizeof`
5 ---
6 */
7
8 struct S(T)
9 {
10 int x;
11 }
12
13 enum n = S.sizeof;