Skip to content

Commit d276c4a

Browse files
committed
Add test for if constexpr completion
1 parent 63ba8cc commit d276c4a

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)