aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/auto52.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/auto52.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/auto52.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/auto52.C b/gcc/testsuite/g++.dg/cpp0x/auto52.C
index d33f927a63e..c277d33d002 100644
--- a/gcc/testsuite/g++.dg/cpp0x/auto52.C
+++ b/gcc/testsuite/g++.dg/cpp0x/auto52.C
@@ -3,4 +3,4 @@
using T = auto() -> int;
using U = void() -> int; // { dg-error "11:.type name. function with trailing return type not declared with .auto." }
-using W = auto(); // { dg-error "11:invalid use of .auto." }
+using W = auto(); // { dg-error "11:.*auto." }