From d72276f6d02b5c5af4606e4d8903a72da788bb96 Mon Sep 17 00:00:00 2001 From: Albert Cahalan Date: Sun, 25 May 2008 08:58:32 +0000 Subject: [PATCH] needed to test compiler, linker, headers, etc. --- dummy.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dummy.c diff --git a/dummy.c b/dummy.c new file mode 100644 index 000000000..564814cf4 --- /dev/null +++ b/dummy.c @@ -0,0 +1,19 @@ +// for testing the compiler + +#ifdef HEADER +#include
+#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; +}