Skip to content

Commit 3508b44

Browse files
committed
Add test for if constexpr completion
1 parent f655870 commit 3508b44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
void test() {
2+
if c
3+
// RUN: %clang_cc1 -fsyntax-only -std=c++17 -code-completion-at=%s:%(line-1):7 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
4+
// CHECK-CC1: constexpr

0 commit comments

Comments
 (0)