Skip to content

Commit c128bfa

Browse files
matthijskooijmanFederico Fissore
authored and
Federico Fissore
committed
Add prototype adding test for static functions
Static functions should not get a prototype added, since ctags does not allow generating the correct prototype. Signed-off-by: Matthijs Kooijman <[email protected]>
1 parent c531892 commit c128bfa

File tree

1 file changed

+4
-0
lines changed
  • src/arduino.cc/builder/test/sketch_with_complex_prototypes

1 file changed

+4
-0
lines changed

src/arduino.cc/builder/test/sketch_with_complex_prototypes/sketch.ino

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ __attribute__((always_inline)) uint8_t testAttribute() {
1616
void testDefault(int x = 1) {
1717

1818
}
19+
20+
static void testStatic() {
21+
22+
}

0 commit comments

Comments
 (0)