diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/ttp41.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/ttp41.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp41.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp41.C index 18a3322721f..b260961e813 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/ttp41.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/ttp41.C @@ -1,4 +1,4 @@ -// { dg-do run } +// { dg-do compile } template<template<class> class D,class E> class C { public: @@ -13,8 +13,8 @@ template<class T> class D template<class T> int D<T>::f() { - C<D,D> c; - return c.g(); + C<D,D> c; // { dg-error "" } + return c.g(); // { dg-error "" } } int main() |