4 fail_compilation/fail7352.d(42): Error: template instance `Type!(1)` does not match template declaration `Type(T)`
5 fail_compilation/fail7352.d(43): Error: template instance `Type!(b)` does not match template declaration `Type(T)`
6 fail_compilation/fail7352.d(43): `b` is not a type
7 fail_compilation/fail7352.d(44): Error: template instance `Type!(function () pure nothrow @nogc @safe => 1)` does not match template declaration `Type(T)`
8 fail_compilation/fail7352.d(45): Error: template instance `Type!(fun)` does not match template declaration `Type(T)`
9 fail_compilation/fail7352.d(45): `fun` is not a type
10 fail_compilation/fail7352.d(47): Error: template instance `Immutable!int` does not match template declaration `Immutable(T : immutable(T))`
11 fail_compilation/fail7352.d(49): Error: template instance `Value!int` does not match template declaration `Value(string s)`
12 fail_compilation/fail7352.d(50): Error: template instance `Value!(1)` does not match template declaration `Value(string s)`
13 fail_compilation/fail7352.d(51): Error: template instance `Value!(fun)` does not match template declaration `Value(string s)`
14 fail_compilation/fail7352.d(51): `fun` is not of a value of type `string`
22 template Immutable(T : immutable(T))
27 template Value(string s)
44 Type!(() => 1) testTypeFuncLiteral;
45 Type!fun testTypeFunc;
47 Immutable!int testImmutable;
49 auto testValueType = Value!int.x;
50 auto testValueWrongType = Value!a.x;
51 auto testValueFunc = Value!fun.x;