mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-15 16:15:08 -05:00
Added minimal example for VF bug involving testing for macro defines in headers.
This commit is contained in:
parent
8ef03612b5
commit
c71025fda0
4 changed files with 49 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
#define ABC
|
||||
|
||||
|
||||
/*
|
||||
#ifdef ABC // ok: evaluates to true
|
||||
#error "ABC defined"
|
||||
#else // ok: evaluates to false
|
||||
#error "ABC not defined"
|
||||
#endif
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue