diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/auto25.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/auto25.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/auto25.C b/gcc/testsuite/g++.dg/cpp0x/auto25.C index 9e08a5bf381..19d51bc8590 100644 --- a/gcc/testsuite/g++.dg/cpp0x/auto25.C +++ b/gcc/testsuite/g++.dg/cpp0x/auto25.C @@ -3,10 +3,10 @@ template<int> struct A { - int a[auto(1)]; // { dg-error "invalid use of" } + int a[auto(1)]; // { dg-error "9:invalid use of" } }; template<int> void foo() { - int a[auto(1)]; // { dg-error "invalid use of" } + int a[auto(1)]; // { dg-error "9:invalid use of" } } |