needed to test compiler, linker, headers, etc.

This commit is contained in:
Albert Cahalan 2008-05-25 08:58:32 +00:00
parent ee07caf4ad
commit d72276f6d0

19
dummy.c Normal file
View 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;
}