Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // following code compiles:
- typedef struct {uint8_t x;} structType;
- void setup() {}
- void myFunc(structType structInstance){}
- void loop() {}
- // following code doesn't:
- void setup() {}
- typedef struct {uint8_t x;} structType;
- void myFunc(structType structInstance){}
- void loop() {}
- // "test:4:13: error: variable or field 'myFunc' declared void"
Add Comment
Please, Sign In to add comment