needed to test compiler, linker, headers, etc.
This commit is contained in:
parent
ee07caf4ad
commit
d72276f6d0
1 changed files with 19 additions and 0 deletions
19
dummy.c
Normal file
19
dummy.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// for testing the compiler
|
||||
|
||||
#ifdef HEADER
|
||||
#include <HEADER>
|
||||
#endif
|
||||
|
||||
#define UNUSED __attribute__ ((__unused__))
|
||||
|
||||
#ifdef TYPE
|
||||
static TYPE x UNUSED;
|
||||
#endif
|
||||
|
||||
#ifdef SYMBOL
|
||||
static int exists UNUSED = !!SYMBOL;
|
||||
#endif
|
||||
|
||||
int main(int argc UNUSED, char *argv[] UNUSED){
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue