diff options
author | Eric Christopher <echristo@apple.com> | 2011-08-19 21:51:01 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-08-19 21:51:01 +0000 |
commit | 3592f64d12e1984cc5beba5c8ee73f96171094b8 (patch) | |
tree | c218d288ad7e590f3da939427d8cd806f673c6aa | |
parent | 07881a2bc0a3b6dfa3e902c36edd21f405d806bf (diff) |
Migrate 2009-07-16-Using.cpp from llvm/test/FrontendC++.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138096 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenCXX/2009-07-16-Using.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGenCXX/2009-07-16-Using.cpp b/test/CodeGenCXX/2009-07-16-Using.cpp new file mode 100644 index 0000000000..a692d4dbc3 --- /dev/null +++ b/test/CodeGenCXX/2009-07-16-Using.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -emit-llvm %s -o /dev/null + +namespace A { + typedef int B; +} +struct B { +}; +using ::A::B; |