OSDN Git Service

PR testsuite/25241
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / overload7.C
index bfd8b5a..827e3d8 100644 (file)
@@ -1,4 +1,4 @@
-// Build don't link:
+// { dg-do assemble  }
 
 // Adapted from testcase by Corey Kosak <kosak@cs.cmu.edu>
 
@@ -11,10 +11,10 @@ template<class T> void foo(typename moo_t<T>::cow_t) {}
 
 template<class T> void foo(moo_t<T>) {
   typename moo_t<T>::cow_t p;
-  foo(p); // gets bogus error - no matching function for call - XFAIL *-*-*
+  foo(p); // { dg-bogus "" "" { xfail *-*-* } }  - no matching function for call - 
 }
 
 int main() {
   moo_t<int> x;
-  foo(x); // gets bogus error - instantiated from here - XFAIL *-*-*
+  foo(x); // { dg-bogus "" "" { xfail *-*-* } }  - instantiated from here - 
 }