2 // { dg-additional-options "-Wno-return-type" }
3 // This code used to be accepted but it is invalid as there is no
4 // value initialization of a reference type.
10 T a = T(); // { dg-error "value-initialization of reference" }
13 int &a = f<int&>(); // { dg-message "required from here" }