☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail22780.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail22780.d
code
plain
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
}