Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail11.d(12): Error: `int*` has no effect
5 ---
6 */
7
8 // https://forum.dlang.org/thread/[email protected]
9
10 void main()
11 {
12 TFoo!(int).t; // should produce a "no identifier" error.
13 }
14 template TFoo(T) { alias T* t; }