-
-
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 SketchWithMinMaxDefinitions from legacy into integration test
- Loading branch information
1 parent
614e981
commit 5a73abd
Showing
4 changed files
with
40 additions
and
9 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.
24 changes: 24 additions & 0 deletions
24
...mpile_4/testdata/SketchWithMinMaxDefinitions/SketchWithMinMaxDefinitions.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,24 @@ | ||
#include <Arduino.h> | ||
#line 1 {{QuoteCppString .sketchMainFile}} | ||
// See: https://github.com/arduino/arduino-builder/issues/68 | ||
|
||
// The following avoid duplicate definitions of min and max | ||
#undef min | ||
#undef max | ||
|
||
#include <memory> | ||
|
||
#line 9 {{QuoteCppString .sketchMainFile}} | ||
void setup(); | ||
#line 13 {{QuoteCppString .sketchMainFile}} | ||
void loop(); | ||
#line 15 {{QuoteCppString .sketchMainFile}} | ||
void test(); | ||
#line 9 {{QuoteCppString .sketchMainFile}} | ||
void setup() { | ||
test(); | ||
} | ||
|
||
void loop() {} | ||
|
||
void test() {} |
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