summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/nested-name-spec.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-03-25 23:38:06 +0000
committerAnders Carlsson <andersca@mac.com>2009-03-25 23:38:06 +0000
commita28908d575ed0180eddfd4fa7f25ac267a1f0ca3 (patch)
treeec85bed6941f2dfb006f6f845d37066c7d7185fa /clang/test/SemaCXX/nested-name-spec.cpp
parentef1a09a3368c4ac421c00d14923cd31902ba9dfb (diff)
downloadbcm5719-llvm-a28908d575ed0180eddfd4fa7f25ac267a1f0ca3.tar.gz
bcm5719-llvm-a28908d575ed0180eddfd4fa7f25ac267a1f0ca3.zip
Tighten the setAccess assert. We now allow AS_none if the decl contex is not a C++ record decl.
Also, fix fallout from the change. llvm-svn: 67717
Diffstat (limited to 'clang/test/SemaCXX/nested-name-spec.cpp')
-rw-r--r--clang/test/SemaCXX/nested-name-spec.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/nested-name-spec.cpp b/clang/test/SemaCXX/nested-name-spec.cpp
index f575fb82b41..07fd5a9bf85 100644
--- a/clang/test/SemaCXX/nested-name-spec.cpp
+++ b/clang/test/SemaCXX/nested-name-spec.cpp
@@ -170,4 +170,3 @@ Y::foo y; // expected-error{{incomplete type 'struct Y' named in nested name spe
X::X() : a(5) { } // expected-error{{use of undeclared identifier 'X'}} \
// expected-error{{C++ requires a type specifier for all declarations}} \
// expected-error{{only constructors take base initializers}}
-
OpenPOWER on IntegriCloud