summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/gag4269g.d
blob: 348207e0d5e5a0ebe9aa3e64bed8f2ede9b6abcc (plain)
1
2
3
4
5
6
7
8
9
10
// REQUIRED_ARGS: -c -o-
/*
TEST_OUTPUT:
---
fail_compilation/gag4269g.d(10): Error: undefined identifier `Y13`, did you mean template `X13(Y13 y)`?
---
*/

static if(is(typeof(X13!(0).init))) {}
template X13(Y13 y) {}