summaryrefslogtreecommitdiff
path: root/test/CodeCompletion
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-02-13 23:35:59 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-02-13 23:35:59 +0000
commit288e8b831e9a9ede7e1d68aa282489a7fae86154 (patch)
tree79993e822ca1b8e8c4fd4ee5a72f2776290b436e /test/CodeCompletion
parente286d35eb7f4d9364c5bf8e5d6c219a6978e8973 (diff)
[CodeCompletion] Code complete the '__auto_type' keyword
rdar://29219185 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion')
-rw-r--r--test/CodeCompletion/auto_type.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeCompletion/auto_type.c b/test/CodeCompletion/auto_type.c
new file mode 100644
index 0000000000..3fcfff0dcf
--- /dev/null
+++ b/test/CodeCompletion/auto_type.c
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -code-completion-at=%s:3:1 %s | FileCheck %s
+void func() {
+
+}
+// CHECK: COMPLETION: __auto_type