]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/fail310.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail310.d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail310.d(10): Error: undefined identifier `Foo`, did you mean function `foo`?
5 fail_compilation/fail310.d(14): Error: template instance fail310.foo!(1, 2) error instantiating
6 fail_compilation/fail310.d(14): while evaluating: `static assert(foo!(1, 2)())`
7 ---
8 */
9
10 Foo foo(A...)()
11 {
12 }
13
14 static assert(foo!(1, 2)());