aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-decl.cpp
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
commit1ade4ca0aa9331c2388cca9becad1357a154ae34 (patch)
treec858d31b3a033c32ae3d0f737b17252b5a3ad35d /test/Parser/cxx-decl.cpp
parentd7d7f67c1dd8626520bb243d3928f59d32424534 (diff)
revert my previous patch, it is breaking something and I don't have time
to fix it ATM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-decl.cpp')
-rw-r--r--test/Parser/cxx-decl.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/Parser/cxx-decl.cpp b/test/Parser/cxx-decl.cpp
index 8c5ab6a55d..3fa284282a 100644
--- a/test/Parser/cxx-decl.cpp
+++ b/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