-
-
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 SketchWithMultilineTemplate from legacy into integration test
- Loading branch information
1 parent
1e04c85
commit e27e313
Showing
3 changed files
with
36 additions
and
0 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.
20 changes: 20 additions & 0 deletions
20
...mpile_4/testdata/SketchWithMultilineTemplate/SketchWithMultilineTemplate.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,20 @@ | ||
#include <Arduino.h> | ||
#line 0 "{{QuoteCppString .sketchMainFile}}" | ||
template< typename T > T func(T t); | ||
#line 6 "{{QuoteCppString .sketchMainFile}}" | ||
void setup(); | ||
#line 10 "{{QuoteCppString .sketchMainFile}}" | ||
void loop(); | ||
#line 0 "{{QuoteCppString .sketchMainFile}}" | ||
#line 1 "{{QuoteCppString .sketchMainFile}}" | ||
template< typename T > | ||
T func(T t){ | ||
return t * t; | ||
} | ||
|
||
void setup() { | ||
func( 12.34f ); | ||
} | ||
|
||
void loop() {} | ||
|