OSDN Git Service

2010-02-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / recurse.C
index 25552d0..17fe186 100644 (file)
@@ -6,8 +6,10 @@ template <int I> struct F
   int operator()()
     {
       F<I+1> f;                        // { dg-error "incomplete type" "incomplete" }
-                               // { dg-error "exceeds maximum" "exceeds" { target *-*-* } 8 }
+                               // { dg-bogus "exceeds maximum.*exceeds maximum" "exceeds" { xfail *-*-* } 8 }
+                                // { dg-error "exceeds maximum" "exceeds" { xfail *-*-* } 8 }
       return f()*I;             // { dg-message "instantiated" "recurse" }
+      // { dg-message "skipping 40 instantiation contexts" "" { target *-*-* } 11 }
     }
 };