-
-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ported testBuilderSketchWithMultilinePrototypes from legacy into inte…
…gration test
- Loading branch information
1 parent
e34591b
commit 36ec81d
Showing
4 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
76 changes: 76 additions & 0 deletions
76
...e_4/testdata/SketchWithMultilinePrototypes/SketchWithMultilinePrototypes.preprocessed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
#include <Arduino.h> | ||
#line 1 "{{QuoteCppString .sketchMainFile}}" | ||
#line 1 "{{QuoteCppString .sketchMainFile}}" | ||
void setup(); | ||
#line 12 "{{QuoteCppString .sketchMainFile}}" | ||
void myctagstestfunc(int a, int b, int c, int d); | ||
#line 17 "{{QuoteCppString .sketchMainFile}}" | ||
void loop(); | ||
#line 18 "{{QuoteCppString .sketchMainFile}}" | ||
void test(); | ||
#line 21 "{{QuoteCppString .sketchMainFile}}" | ||
void test3(); | ||
#line 25 "{{QuoteCppString .sketchMainFile}}" | ||
void test5(int a, int b, int c); | ||
#line 33 "{{QuoteCppString .sketchMainFile}}" | ||
void test7(); | ||
#line 36 "{{QuoteCppString .sketchMainFile}}" | ||
void test8(); | ||
#line 44 "{{QuoteCppString .sketchMainFile}}" | ||
void test9(int a, int b); | ||
#line 50 "{{QuoteCppString .sketchMainFile}}" | ||
void test10(int a, int b, int c ); | ||
#line 1 "{{QuoteCppString .sketchMainFile}}" | ||
void setup() { | ||
myctagstestfunc(1,2,3,4); | ||
test(); | ||
test3(); | ||
test5(1,2,3); | ||
test7(); | ||
test8(); | ||
test9(42, 42); | ||
test10(0,0,0); | ||
} | ||
|
||
void myctagstestfunc(int a, | ||
int b, | ||
int c, | ||
int d) { } | ||
|
||
void loop() {} | ||
|
||
void | ||
test() {} | ||
|
||
void | ||
// comment | ||
test3() {} | ||
|
||
void | ||
test5(int a, | ||
int b, | ||
int c) | ||
{ | ||
|
||
} | ||
|
||
void /* comment */ | ||
test7() {} | ||
|
||
void | ||
/* | ||
multi | ||
line | ||
comment | ||
*/ | ||
test8() {} | ||
|
||
void | ||
/* comment */ | ||
test9(int a, | ||
int b) {} | ||
|
||
void test10(int a, // this | ||
int b, // doesn't | ||
int c // work | ||
) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters