aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/defarg8.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/defarg8.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/defarg8.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/defarg8.C b/gcc/testsuite/g++.old-deja/g++.pt/defarg8.C
index f60fffa99a6..239672dec43 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/defarg8.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/defarg8.C
@@ -7,11 +7,11 @@
// so)
template <class T> class foo1;
-template <class T, class U> class foo2;
+template <class T, class U> class foo2; // { dg-error "" }
struct bar {
template <class T, class U>
- bar(int i = foo1<T>::baz, // { dg-bogus "" "" { xfail *-*-* } } -
+ bar(int i = foo1<T>::baz, // { dg-bogus "" } -
int j = int(foo2<T, U>::baz), // ok
- int k = foo2<T, U>::baz) {} // this is the problematic one.
+ int k = foo2<T, U>::baz) {} // { dg-error "" }
};