diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/initlist28.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/initlist28.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/initlist28.C b/gcc/testsuite/g++.dg/cpp0x/initlist28.C index 3b959a03a53..d1df7cb0044 100644 --- a/gcc/testsuite/g++.dg/cpp0x/initlist28.C +++ b/gcc/testsuite/g++.dg/cpp0x/initlist28.C @@ -4,5 +4,5 @@ void foo() { int a[1]; - throw a = {}; // { dg-error "invalid use of non-lvalue array" } + throw a = {}; // { dg-error "assign" } } |