summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/template9.C
blob: 17b7da91f375103a7bcc7d924fa89ac07ac86c15 (plain)
1
2
3
4
5
6
template <typename T> 
void f() {
  g(); // { dg-error "must be available" "err" }
       // { dg-message "note" "note" { target *-*-* } 3 }
  h(3); // { dg-error "must be available" }
}