mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
21 lines
355 B
D
21 lines
355 B
D
/*
|
|
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;
|
|
}
|