1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice11153.d(11): Error: function declaration without return type. (Note that constructors are always named `this`)
5 fail_compilation/ice11153.d(11): Error: no identifier for declarator `foo()`
6 ---
7 */
8 
9 struct S
10 {
fooS11     foo(T)() {}
12     // Parser creates a TemplateDeclaration object with ident == NULL
13 }
14 
main()15 void main() {}
16