d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail15550.d
blobf7b910c3c91ff56fcd2b57acce295e35404eb74f
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail15550.d(25): Error: partial template instance `foo!int` has no type
5 fail_compilation/fail15550.d(26): Error: partial template instance `opDispatch!"_isMatrix"` has no type
6 fail_compilation/fail15550.d(27): Error: partial template instance `baz!"_isMatrix"` has no type
7 ---
8 */
10 T foo(T, T2)(T2)
14 struct Vector
16 void opDispatch(string, U)(U)
20 void baz(string, U)(U)
25 alias T1 = typeof(foo!int);
26 alias T2 = typeof(Vector._isMatrix);
27 alias T3 = typeof(Vector.baz!"_isMatrix");