[ create a new paste ] login | about

Link: http://codepad.org/GQFBdC0T    [ raw code | output | fork ]

D, pasted on Mar 5:
1
2
3
4
template Foo(alias A) {
        alias A Foo;
}
Foo!(int) x;


Output:
1
2
3
Line 4: template instance Foo!(int) does not match any template declaration
Line 4: Error: Foo!(int) is used as a type
Line 4: variable t.x voids have no value


Create a new paste based on this one


Comments: