From 3f2122bea82d2dc4331abcc4315e0143060b76c5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 16 Jul 2009 13:35:42 +0000 Subject: 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 --- test/FrontendC++/2009-07-16-Using.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/FrontendC++/2009-07-16-Using.cpp (limited to 'test/FrontendC++/2009-07-16-Using.cpp') diff --git a/test/FrontendC++/2009-07-16-Using.cpp b/test/FrontendC++/2009-07-16-Using.cpp new file mode 100644 index 0000000000..1acadf6421 --- /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; -- cgit v1.2.3-18-g5258