Debian Codegraph @

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

raw
1 // https://issues.dlang.org/show_bug.cgi?id=22780
2 /* TEST_OUTPUT:
3 ---
4 fail_compilation/fail22780.d(12): Error: variable `fail22780.test10717.c` reference to `scope class` must be `scope`
5 ---
6 */
7
8 scope class C10717 { }
9
10 void test10717()
11 {
12 C10717 c;
13 }