-
-
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 SketchWithFakeFunctionPointer from legacy into integration test
- Loading branch information
1 parent
d9a0828
commit 574ed7e
Showing
4 changed files
with
43 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.
27 changes: 27 additions & 0 deletions
27
...e_4/testdata/SketchWithFakeFunctionPointer/SketchWithFakeFunctionPointer.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,27 @@ | ||
#include <Arduino.h> | ||
#line 1 "{{QuoteCppString .sketchMainFile}}" | ||
template< uint16_t nBuffSize > | ||
class Foo{ | ||
public: | ||
|
||
template< uint16_t N > | ||
Foo &operator +=( const Foo<N> &ref ){ | ||
//... | ||
return *this; | ||
} | ||
}; | ||
|
||
Foo<64> a; | ||
Foo<32> b; | ||
|
||
#line 15 "{{QuoteCppString .sketchMainFile}}" | ||
void setup(); | ||
#line 19 "{{QuoteCppString .sketchMainFile}}" | ||
void loop(); | ||
#line 15 "{{QuoteCppString .sketchMainFile}}" | ||
void setup(){ | ||
a += b; | ||
} | ||
|
||
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