blob: 4ff426658261b185ee48a7d9718efe09b35e5cdb [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/b15069.d(15): Error: template instance `T!int` `T` is not a template declaration, it is a alias
fail_compilation/b15069.d(10): Error: template instance `b15069.Stuff!(Thing!float)` error instantiating
---
*/
void main()
{
Stuff!(Thing!(float)) s;
}
struct Stuff(T)
{
T!(int) var;
}
struct Thing(T)
{
T varling;
}