2 // This code used to be accepted but it is invalid as there is no
3 // value initialization of a reference type.
6 // We should we able to diagnostic this without instantiating the template
11 T a = T(); // { dg-error "value-initialization of reference" }