Debian Codegraph @

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

raw
1 // REQUIRED_ARGS: -d
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/fail12047.d(15): Error: undefined identifier `asdf`
6 fail_compilation/fail12047.d(16): Error: undefined identifier `asdf`
7 fail_compilation/fail12047.d(17): Error: undefined identifier `asdf`
8 fail_compilation/fail12047.d(18): Error: undefined identifier `asdf`
9 fail_compilation/fail12047.d(19): Error: undefined identifier `asdf`
10 fail_compilation/fail12047.d(20): Error: undefined identifier `asdf`
11 fail_compilation/fail12047.d(21): Error: undefined identifier `asdf`
12 ---
13 */
14
15 @asdf void func() { }
16 @asdf int var = 1;
17 @asdf enum E : int { a }
18 @asdf struct S {}
19 @asdf class C {}
20 @asdf interface I {}
21 @asdf alias int myint;