mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Adding some test cases for the pre-processor. (Total hack, requires copying and pasting code from the actual app source into another file and running a shell script, but it's better than nothing.)
This commit is contained in:
19
app/preproc/test/data/foo3.cpp
Normal file
19
app/preproc/test/data/foo3.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
void setup() // run once, when the sketch starts
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
void loop() // run over and over again
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
/*
|
||||
void loop(){
|
||||
if (1){
|
||||
;
|
||||
}
|
||||
else if(0){
|
||||
;
|
||||
}
|
||||
} */
|
Reference in New Issue
Block a user