diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/other/error10.C')
-rw-r--r-- | gcc/testsuite/g++.dg/other/error10.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/other/error10.C b/gcc/testsuite/g++.dg/other/error10.C index 9e6da6529aa..26f7ca53f29 100644 --- a/gcc/testsuite/g++.dg/other/error10.C +++ b/gcc/testsuite/g++.dg/other/error10.C @@ -6,7 +6,7 @@ template<int> struct A {}; template<int N> void foo(const A<N> &a) -{ -A<N>(a); } // { dg-error "\\(\\(const A<0>\\*\\)a\\)" "" } +{ -A<N>(a); } // { dg-error "\\(\\* & a\\)" "" } void bar() { |