From 461a67fa15370a9ec88f8f8a240bf7c123bb2029 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 18 Dec 2017 20:11:37 +0000 Subject: Vendor import of clang trunk r321017: https://llvm.org/svn/llvm-project/cfe/trunk@321017 --- test/CodeCompletion/crash-func-init.cpp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/CodeCompletion/crash-func-init.cpp (limited to 'test/CodeCompletion/crash-func-init.cpp') diff --git a/test/CodeCompletion/crash-func-init.cpp b/test/CodeCompletion/crash-func-init.cpp new file mode 100644 index 000000000000..6d84b843ea18 --- /dev/null +++ b/test/CodeCompletion/crash-func-init.cpp @@ -0,0 +1,4 @@ +int (*foo(int a))(flo +// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:1:21 %s -o - \ +// RUN: | FileCheck %s +// CHECK: COMPLETION: float -- cgit v1.3