]> granicus.if.org Git - clang/commitdiff
Migrate 2009-07-16-Using.cpp from llvm/test/FrontendC++.
authorEric Christopher <echristo@apple.com>
Fri, 19 Aug 2011 21:51:01 +0000 (21:51 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 19 Aug 2011 21:51:01 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138096 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/2009-07-16-Using.cpp [new file with mode: 0644]

diff --git a/test/CodeGenCXX/2009-07-16-Using.cpp b/test/CodeGenCXX/2009-07-16-Using.cpp
new file mode 100644 (file)
index 0000000..a692d4d
--- /dev/null
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
+
+namespace A {
+  typedef int B;
+}
+struct B {
+};
+using ::A::B;