iinline-1.C: Adjust.
[gcc.git] / gcc / testsuite / g++.dg / template / cond2.C
index e6bd19d40fa85a33d2cb458a0ed72639a6f47acf..abb6ebb5d4676a0497c6386a5fa5222601d85e88 100644 (file)
@@ -3,8 +3,8 @@
 
 template<int X> class c;
 
-template<int X, int Y> int test(c<X ? : Y>&); // { dg-error "omitted" }
+template<int X, int Y> int test(c<X ? : Y>&);
 
 void test(c<2>*c2) {
-       test<0, 2>(*c2);
+       test<0, 2>(*c2); // { dg-error "omitted" }
 }