]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/ice8255.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice8255.d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice8255.d(10): Error: function ice8255.F!(G).F.f (ref G _param_0) is not callable using argument types (G)
5 fail_compilation/ice8255.d(10): while evaluating pragma(msg, F().f(G()))
6 ---
7 */
8 struct G {}
9 struct F(T) { void f(ref T) {} }
10 pragma(msg, F!G().f(G.init));