summaryrefslogtreecommitdiff
path: root/Tests/TryCompile/testdef.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TryCompile/testdef.c')
-rw-r--r--Tests/TryCompile/testdef.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/TryCompile/testdef.c b/Tests/TryCompile/testdef.c
new file mode 100644
index 000000000..5401e7183
--- /dev/null
+++ b/Tests/TryCompile/testdef.c
@@ -0,0 +1,4 @@
+#ifndef TESTDEF
+# error "TESTDEF should be defined!"
+#endif
+int main(void) { return 0; }