You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
318 B
9 lines
318 B
4 months ago
|
void f(int i, int j = 2, int k = 5);
|
||
|
void f(float x, float y...);
|
||
|
|
||
|
void test() {
|
||
|
::
|
||
|
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||
|
// CHECK-CC1: f(<#int i#>{#, <#int j = 2#>{#, <#int k = 5#>#}#})
|
||
|
// CHECK-CC1: f(<#float x#>, <#float y, ...#>)
|