diff options
Diffstat (limited to 'test/Parser/cxx0x-decl.cpp')
-rw-r--r-- | test/Parser/cxx0x-decl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Parser/cxx0x-decl.cpp b/test/Parser/cxx0x-decl.cpp index 994104f..23f46a1 100644 --- a/test/Parser/cxx0x-decl.cpp +++ b/test/Parser/cxx0x-decl.cpp @@ -132,3 +132,7 @@ void NoMissingSemicolonHere(struct S [3]); template<int ...N> void NoMissingSemicolonHereEither(struct S ... [N]); + +// This must be at the end of the file; we used to look ahead past the EOF token here. +// expected-error@+1 {{expected unqualified-id}} +using |