Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeCompletion / functions.cpp
blob0f241ae88e61adbd0ed08aa6c42747c46b12e257
1 void f(int i, int j = 2, int k = 5);
2 void f(float x, float y...);
4 void test() {
5 ::
6 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-1):5 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
7 // CHECK-CC1: f(<#int i#>{#, <#int j = 2#>{#, <#int k = 5#>#}#})
8 // CHECK-CC1: f(<#float x#>, <#float y, ...#>)