summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC++/2009-07-16-Using.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2009-07-16 13:35:42 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2009-07-16 13:35:42 +0000
commit5618d808e0e8dcdd160a4d64a861316558abf9a0 (patch)
treeed11d41f44fec4bd920f8739fbcf933dd6552bff /llvm/test/FrontendC++/2009-07-16-Using.cpp
parent293324104b3f38d6c587171697876e7ffe629cec (diff)
downloadbcm5719-llvm-5618d808e0e8dcdd160a4d64a861316558abf9a0.tar.gz
bcm5719-llvm-5618d808e0e8dcdd160a4d64a861316558abf9a0.zip
Add tests for fixes I committed earlier to the C++ FE.
llvm-svn: 75924
Diffstat (limited to 'llvm/test/FrontendC++/2009-07-16-Using.cpp')
-rw-r--r--llvm/test/FrontendC++/2009-07-16-Using.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/FrontendC++/2009-07-16-Using.cpp b/llvm/test/FrontendC++/2009-07-16-Using.cpp
new file mode 100644
index 00000000000..1acadf64212
--- /dev/null
+++ b/llvm/test/FrontendC++/2009-07-16-Using.cpp
@@ -0,0 +1,8 @@
+// RUN: %llvmgxx %s -S
+
+namespace A {
+ typedef int B;
+}
+struct B {
+};
+using ::A::B;
OpenPOWER on IntegriCloud