diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/template/nontype6.C')
-rw-r--r-- | gcc/testsuite/g++.dg/template/nontype6.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/template/nontype6.C b/gcc/testsuite/g++.dg/template/nontype6.C index 43470ccdb1d..298ce82591c 100644 --- a/gcc/testsuite/g++.dg/template/nontype6.C +++ b/gcc/testsuite/g++.dg/template/nontype6.C @@ -13,7 +13,7 @@ template <class T> void func(void) { (void)A<T>::type(); // { dg-error "if a type is meant" } -// { dg-error "parsed as a non-type" "" { target *-*-* } 15 } +// { dg-error "parsed as a non-type" "non-type" { target *-*-* } 15 } } template void func<float>(void); // { dg-error "instantiated from here" } |