summaryrefslogtreecommitdiffstats
path: root/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
commit5a37961cc251994774c57275b626901bef6f28f7 (patch)
treed3ce79c8a5ad7d7a700f74ec513ddddcdf902f29 /test/FrontendC++/2009-07-16-Using.cpp
parent7a12397477d5d564f3896dc7de3c6f27168d1471 (diff)
downloadexternal_llvm-5a37961cc251994774c57275b626901bef6f28f7.zip
external_llvm-5a37961cc251994774c57275b626901bef6f28f7.tar.gz
external_llvm-5a37961cc251994774c57275b626901bef6f28f7.tar.bz2
Add tests for fixes I committed earlier to the C++ FE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++/2009-07-16-Using.cpp')
-rw-r--r--test/FrontendC++/2009-07-16-Using.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/FrontendC++/2009-07-16-Using.cpp b/test/FrontendC++/2009-07-16-Using.cpp
new file mode 100644
index 0000000..1acadf6
--- /dev/null
+++ b/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;