aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/cpp/assembl2.S
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/cpp/assembl2.S')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/cpp/assembl2.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/cpp/assembl2.S b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/assembl2.S
new file mode 100644
index 000000000..848024cff
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/assembl2.S
@@ -0,0 +1,19 @@
+/* Copyright (C) 2000-2014 Free Software Foundation, Inc. */
+
+/* { dg-do preprocess } */
+
+/* Source: Bug report of Jonathan Larmour. Tweaked for test suite by
+ Neil Booth, 17 Jan 2000. */
+
+/* We would not test the buffer->was_skipping variable when skipping,
+ meaning that some false directives confused CPP. */
+
+#if 0
+ # foo
+ # fee
+ # fie
+ # foe
+ # fum
+#elif 0
+ # bundy
+#endif