summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-06 20:58:07 +0000
committerChris Lattner <sabre@nondot.org>2009-12-06 20:58:07 +0000
commited085234dcd1db86c02769c01bb71e46094a68c7 (patch)
tree216e8a70633a68525852d35f7a57d590c8c82e79 /clang/test/Parser
parent71a26d8f82e0fed809441852ba13ff630e438dff (diff)
downloadbcm5719-llvm-ed085234dcd1db86c02769c01bb71e46094a68c7.tar.gz
bcm5719-llvm-ed085234dcd1db86c02769c01bb71e46094a68c7.zip
revert my previous patch, it is breaking something and I don't have time
to fix it ATM. llvm-svn: 90717
Diffstat (limited to 'clang/test/Parser')
-rw-r--r--clang/test/Parser/cxx-decl.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/clang/test/Parser/cxx-decl.cpp b/clang/test/Parser/cxx-decl.cpp
index 8c5ab6a55d5..3fa284282ad 100644
--- a/clang/test/Parser/cxx-decl.cpp
+++ b/clang/test/Parser/cxx-decl.cpp
@@ -1,24 +1,3 @@
// RUN: clang-cc -verify -fsyntax-only %s
int x(*g); // expected-error {{use of undeclared identifier 'g'}}
-
-
-// PR4451 - We should recover well from the typo of '::' as ':' in a2.
-namespace y {
- struct a { };
-}
-
-y::a a1;
-y:a a2; // expected-error {{unexpected ':' in nested name specifier}}
-y::a a3 = a2;
-
-// Some valid colons:
-void foo() {
-y: // label
- y::a s;
-
- int a = 4;
- a = a ? a : a+1;
-}
-
-struct b : y::a {}; \ No newline at end of file
OpenPOWER on IntegriCloud