summaryrefslogtreecommitdiff
path: root/clang/test/CodeCompletion/PR9728.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeCompletion/PR9728.cpp')
-rw-r--r--clang/test/CodeCompletion/PR9728.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/CodeCompletion/PR9728.cpp b/clang/test/CodeCompletion/PR9728.cpp
new file mode 100644
index 0000000..91f49be
--- /dev/null
+++ b/clang/test/CodeCompletion/PR9728.cpp
@@ -0,0 +1,9 @@
+namespace N {
+struct SFoo;
+}
+
+struct brokenfile_t {
+ brokenfile_t (N::
+ // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:6:20 %s -o - | FileCheck %s
+ // CHECK: SFoo
+