diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2012-07-27 12:56:09 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2012-07-27 12:56:09 +0000 |
| commit | ec98f2fe45acd9a475752a27fb33fbe96c1fcb44 (patch) | |
| tree | 8262f8e84821e31f315a5d327c7135701ee01392 /test/CodeCompletion/auto.cpp | |
| parent | b399696572b5c610e8b88574084f7982c715dc94 (diff) | |
| download | clang-ec98f2fe45acd9a475752a27fb33fbe96c1fcb44.tar.gz clang-ec98f2fe45acd9a475752a27fb33fbe96c1fcb44.tar.bz2 clang-ec98f2fe45acd9a475752a27fb33fbe96c1fcb44.tar.xz | |
Fix an assertion failure when code completing an auto variable's initialiser.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion/auto.cpp')
| -rw-r--r-- | test/CodeCompletion/auto.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeCompletion/auto.cpp b/test/CodeCompletion/auto.cpp new file mode 100644 index 0000000000..1fc9fb035d --- /dev/null +++ b/test/CodeCompletion/auto.cpp @@ -0,0 +1,2 @@ +// RUN: %clang_cc1 -std=c++11 -code-completion-at=%s:2:9 %s +auto i = |
