summaryrefslogtreecommitdiff
path: root/tests/spaces4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spaces4.c')
-rw-r--r--tests/spaces4.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/spaces4.c b/tests/spaces4.c
new file mode 100644
index 000000000000..6fbc6f239891
--- /dev/null
+++ b/tests/spaces4.c
@@ -0,0 +1,17 @@
+/* Copyright 2004 Bob Proulx <bob@proulx.com>
+Distributed under the two-clause BSD licence;
+see the COPYING file for details. */
+
+# include <stdio.h>
+ # include <stdlib.h>
+
+ # ifdef FOO
+int foo() { return 0; }
+ # else
+ # error FOO defined
+ # endif
+
+int main()
+{
+ foo();
+}