-
-
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 SketchWithEnumClass from legacy into integration test
- Loading branch information
1 parent
8e10e90
commit 5ad5f32
Showing
4 changed files
with
57 additions
and
14 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.
31 changes: 31 additions & 0 deletions
31
...tegrationtest/compile_4/testdata/SketchWithEnumClass/SketchWithEnumClass.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,31 @@ | ||
#include <Arduino.h> | ||
#line 1 "/home/ale/arduino/arduino-cli/internal/integrationtest/compile_4/testdata/SketchWithEnumClass/SketchWithEnumClass.ino" | ||
#line 1 "/home/ale/arduino/arduino-cli/internal/integrationtest/compile_4/testdata/SketchWithEnumClass/SketchWithEnumClass.ino" | ||
void test(); | ||
#line 11 "/home/ale/arduino/arduino-cli/internal/integrationtest/compile_4/testdata/SketchWithEnumClass/SketchWithEnumClass.ino" | ||
void test2(); | ||
#line 14 "/home/ale/arduino/arduino-cli/internal/integrationtest/compile_4/testdata/SketchWithEnumClass/SketchWithEnumClass.ino" | ||
void setup(); | ||
#line 17 "/home/ale/arduino/arduino-cli/internal/integrationtest/compile_4/testdata/SketchWithEnumClass/SketchWithEnumClass.ino" | ||
void loop(); | ||
#line 1 "/home/ale/arduino/arduino-cli/internal/integrationtest/compile_4/testdata/SketchWithEnumClass/SketchWithEnumClass.ino" | ||
void test() { | ||
test2(); | ||
} | ||
|
||
enum class MyEnum | ||
{ | ||
AValue = 0, | ||
AnotherValue = 1 | ||
}; | ||
|
||
void test2() { | ||
} | ||
|
||
void setup() { | ||
} | ||
|
||
void loop() { | ||
} | ||
|
||
|
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