blob: 524e61548054f5fd18dfbd0ffa69b47a14ff04d4 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail11.d(12): Error: `type` has no effect in expression `int*`
---
*/
// http://forum.dlang.org/thread/c738o9$1p7i$1@digitaldaemon.com
void main()
{
TFoo!(int).t; // should produce a "no identifier" error.
}
template TFoo(T) { alias T* t; }