diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-12-09 23:35:36 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-12-09 23:35:36 +0000 |
commit | 25bb03bc0f2561e830d866d5905b20c5475d6762 (patch) | |
tree | 828d79e191dd9d8ecf2141763a19fc1c97ec99ac /test/CodeCompletion | |
parent | bfe5788a00b44cf77cb2bd33e1fa0c35eb02e3f9 (diff) |
Don't crash when code-completing after "#include <". It would be far
better to actually produce a decent set of completions by checking the
system include paths, but not today. Fixes PR8744.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion')
-rw-r--r-- | test/CodeCompletion/ordinary-name.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeCompletion/ordinary-name.c b/test/CodeCompletion/ordinary-name.c index 0807b74b12..dda7bb018a 100644 --- a/test/CodeCompletion/ordinary-name.c +++ b/test/CodeCompletion/ordinary-name.c @@ -12,3 +12,6 @@ void foo() { // CHECK-CC1: foo // CHECK-CC1: TYPEDEF // CHECK-CC1: y + + // PR8744 + // RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -code-completion-at=%s:1:11 %s |