aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-using-directive.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-20 00:51:54 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-20 00:51:54 +0000
commit9cfbe48a7a20a217fdb2920b29b67ae7941cb116 (patch)
tree43a0039929a24ceb9f232089e83fda23c07c7ff1 /test/Parser/cxx-using-directive.cpp
parent6aed766538c9d996b709354386c861037b9eedba (diff)
Parsing and AST support for using declarations, from John Thompson!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-using-directive.cpp')
-rw-r--r--test/Parser/cxx-using-directive.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Parser/cxx-using-directive.cpp b/test/Parser/cxx-using-directive.cpp
index 676f4e6c5a..504d026b43 100644
--- a/test/Parser/cxx-using-directive.cpp
+++ b/test/Parser/cxx-using-directive.cpp
@@ -13,8 +13,7 @@ namespace D {
class C {
- using namespace B ; // expected-error{{expected member name or ';' after declaration specifiers}}
- //FIXME: this needs better error message
+ using namespace B ; // expected-error{{not allowed}}
};
namespace B {}