Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice19950.d(8): Error: undefined identifier `NotHere`
5 fail_compilation/ice19950.d(9): Error: template instance `ice19950.baz!()` does not match template declaration `baz()(Foo)`
6 ---
7 */
8 alias Foo = NotHere;
9 alias Bar = baz!();
10
11 void baz()(Foo)
12 if (true)
13 {}