diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/template/crash101.C | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 369557b..f5b759b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-07-02 Paolo Carlini <paolo.carlini@oracle.com> + + * g++.dg/template/crash98.C: Remove stray // from dg-error comment. + 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> * gcc.target/arm/neon/vdup_ns64.c: Regenerated. diff --git a/gcc/testsuite/g++.dg/template/crash101.C b/gcc/testsuite/g++.dg/template/crash101.C index 38059fc..c59737a 100644 --- a/gcc/testsuite/g++.dg/template/crash101.C +++ b/gcc/testsuite/g++.dg/template/crash101.C @@ -5,7 +5,7 @@ struct locale { }; template<class charT> void foo() - { locale::locale(); } // // { dg-error "cannot call|function-style" } + { locale::locale(); } // { dg-error "cannot call|function-style" } void bar() |