Skip to content

Commit 957bddd

Browse files
committed
Add an annoying test
1 parent 7b622cd commit 957bddd

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

ycmd/tests/clangd/testdata/general_fallback/make_drink.cc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
using namespace Test;
44

5+
int a_really_really_really_really_annoyingly_long_method_name(
6+
int with,
7+
char a,
8+
bool lot,
9+
const char * of,
10+
float arguments
11+
);
12+
int a_really_really_really_really_annoyingly_long_method_name(
13+
int with_only_one_really_really_really_annoyingly_long_argument
14+
);
15+
516
int main( int , char ** )
617
{
718
make_drink( TypeOfDrink::COFFEE, 10.0, Flavour::ELDERFLOWER );

ycmd/tests/clangd/testdata/general_fallback/make_drink.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ namespace Test
2929
Drink& make_drink( TypeOfDrink type, Temperature temp, int sugargs );
3030
Drink& make_drink( TypeOfDrink type, double fizziness, Flavour Flavour );
3131

32-
void simple_func( int f );
32+
void simple_func( int d, float c, char *S );
33+
void simple_func( int f, char c );
34+
void simple_func( float f, char c );
3335
}

0 commit comments

Comments
 (0)