diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-04-23 01:04:12 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-04-23 01:04:12 +0000 |
commit | b6b2b180c6857af75c6683f7107a7c8994f074ed (patch) | |
tree | 33266264ac65eff5b685b4324cd30f2165849928 /test/CodeCompletion | |
parent | 120bf32525829be4622fc85b67e38b2ff0276744 (diff) |
Fix an assertion when code-completing, rdar://9288730 & http://llvm.org/PR9728.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion')
-rw-r--r-- | test/CodeCompletion/PR9728.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeCompletion/PR9728.cpp b/test/CodeCompletion/PR9728.cpp new file mode 100644 index 0000000000..91f49be91f --- /dev/null +++ b/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 + |