Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dummy.c
diff options
context:
space:
mode:
authoralbert <albert>2008-05-25 08:58:32 (GMT)
committer albert <albert>2008-05-25 08:58:32 (GMT)
commit6f25b4fb5446b46f6b6cee3be3a41462548c976b (patch)
tree7f34947d9dc2fd07a478b0b3d2dfe0c197fb258e /dummy.c
parent71cc47f02f9c2c441ee204feebaa05389e7fceda (diff)
needed to test compiler, linker, headers, etc.
Diffstat (limited to 'dummy.c')
-rw-r--r--dummy.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/dummy.c b/dummy.c
new file mode 100644
index 0000000..564814c
--- /dev/null
+++ b/dummy.c
@@ -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;
+}