diff options
author | Anders Carlsson <andersca@mac.com> | 2009-03-25 23:38:06 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-03-25 23:38:06 +0000 |
commit | a28908d575ed0180eddfd4fa7f25ac267a1f0ca3 (patch) | |
tree | ec85bed6941f2dfb006f6f845d37066c7d7185fa /clang/test/SemaCXX/nested-name-spec.cpp | |
parent | ef1a09a3368c4ac421c00d14923cd31902ba9dfb (diff) | |
download | bcm5719-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.cpp | 1 |
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}} - |