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 "non-type" "non-type" }
16 // { dg-message "if a type" "note" { target *-*-* } 15 }
19 template void func<float>(void); // { dg-message "instantiated from here" }