1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/ice15127.d(17): Error: basic type expected, not `struct` 5 fail_compilation/ice15127.d(17): Error: identifier expected for template value parameter 6 fail_compilation/ice15127.d(17): Error: found `struct` when expecting `)` 7 fail_compilation/ice15127.d(17): Error: found `ExampleStruct` when expecting `=` 8 fail_compilation/ice15127.d(17): Error: semicolon expected following auto declaration, not `)` 9 fail_compilation/ice15127.d(17): Error: declaration expected, not `)` 10 --- 11 */ 12 ExampleStruct(S)13struct ExampleStruct(S) { } 14 ExampleTemplate(K)15template ExampleTemplate(K) 16 { 17 enum ExampleTemplate(struct ExampleStruct(K)) = K; 18 } 19 main()20void main() {} 21