c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / pr108206.C
blob9362d261bea57c3be7f9f073dfd274106bd0c06a
1 // PR c++/108206
2 // { dg-do compile { target c++11 } }
4 template <X x, typename T1> void foo (T1);      // { dg-error "'X' has not been declared" }
5 template <X x, typename T2> void foo (T2);      // { dg-error "'X' has not been declared" }