☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail354.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail354.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail354.d(11): Error: template instance `T!N` template `T` is not defined
5
fail_compilation/fail354.d(13): Error: template instance `fail354.S!1` error instantiating
6
---
7
*/
8
9
struct S(int N)
10
{
11
this(T!N) { }
12
}
13
alias S!1 M;