aboutsummaryrefslogtreecommitdiff
path: root/tinycc/tests/42test.h
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-07-12 13:22:29 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-07-12 13:22:29 -0300
commitfa2bdd711212ba6b7a94a20971e8bfa281e73296 (patch)
tree6713b3c0379507d49558287b71dd360ce188a2f0 /tinycc/tests/42test.h
lol
Diffstat (limited to 'tinycc/tests/42test.h')
-rw-r--r--tinycc/tests/42test.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tinycc/tests/42test.h b/tinycc/tests/42test.h
new file mode 100644
index 0000000..5db7d1c
--- /dev/null
+++ b/tinycc/tests/42test.h
@@ -0,0 +1,13 @@
+/* This file is to test compute #include directives. It's named so
+ that it starts with a pre-processing number which isn't a valid
+ number (42test.h). Including this must work. */
+#ifndef INC42_FIRST
+int have_included_42test_h;
+#define INC42_FIRST
+#elif !defined INC42_SECOND
+#define INC42_SECOND
+int have_included_42test_h_second;
+#else
+#define INC42_THIRD
+int have_included_42test_h_third;
+#endif