Skip to content

Commit aad7534

Browse files
committed
Add additional test for difficult multiline prototypes
(whitespaces are intended)
1 parent 08606b3 commit aad7534

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
void setup() { myctagstestfunc(1,2,3,4); }
1+
void setup() {
2+
myctagstestfunc(1,2,3,4);
3+
test();
4+
test3();
5+
test5(1,2,3);
6+
test7();
7+
test8();
8+
test9(42, 42);
9+
}
210

311
void myctagstestfunc(int a,
412
int b,
@@ -7,3 +15,33 @@ int d) { }
715

816
void loop() {}
917

18+
void
19+
test() {}
20+
21+
void
22+
// comment
23+
test3() {}
24+
25+
void
26+
test5(int a,
27+
int b,
28+
int c)
29+
{
30+
31+
}
32+
33+
void /* comment */
34+
test7() {}
35+
36+
void
37+
/*
38+
multi
39+
line
40+
comment
41+
*/
42+
test8() {}
43+
44+
void
45+
/* comment */
46+
test9(int a,
47+
int b) {}

0 commit comments

Comments
 (0)