summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/lookup-member.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/lookup-member.cpp')
-rw-r--r--clang/test/SemaCXX/lookup-member.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/lookup-member.cpp b/clang/test/SemaCXX/lookup-member.cpp
new file mode 100644
index 0000000..c75b185
--- /dev/null
+++ b/clang/test/SemaCXX/lookup-member.cpp
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+namespace A {
+ class String;
+};
+
+using A::String;
+class String;
+
+// rdar://8603569
+union value {
+char *String;
+};