aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/cpp/20000628-1.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/cpp/20000628-1.h')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/cpp/20000628-1.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/cpp/20000628-1.h b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/20000628-1.h
new file mode 100644
index 000000000..2b2fb479e
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/20000628-1.h
@@ -0,0 +1,8 @@
+/* Test if #line commands are generated properly even when header
+ includes self. */
+#include "20000628-1a.h"
+#ifndef t20000628_1_h
+#define t20000628_1_h 1
+#include "20000628-1.h"
+#include "20000628-1a.h"
+#endif