2 // Origin: <v dot haisman at sh dot cvut dot cz>
3 // PR c++/13957: Improved error message for type in template (when non-type
15 (void)A<T>::type(); // { dg-error "if a type is meant" }
16 // { dg-error "parsed as a non-type" "non-type" { target *-*-* } 15 }
19 template void func<float>(void); // { dg-error "instantiated from here" }