]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Wed, 15 Dec 2004 13:41:28 +0000 (13:41 +0000)
committerNo Author <no-author@gcc.gnu.org>
Wed, 15 Dec 2004 13:41:28 +0000 (13:41 +0000)
'gcc-3_4-branch'.

From-SVN: r92197

gcc/testsuite/gcc.dg/cpp/inc/pragma-once-1a.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pragma-once-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pragma-once-1b.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pragma-once-1c.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/pragma-once-1d.h [new file with mode: 0644]

diff --git a/gcc/testsuite/gcc.dg/cpp/inc/pragma-once-1a.h b/gcc/testsuite/gcc.dg/cpp/inc/pragma-once-1a.h
new file mode 100644 (file)
index 0000000..7de6412
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _A_H_
+#define _A_H_
+
+#include "../pragma-once-1b.h"
+
+#endif
diff --git a/gcc/testsuite/gcc.dg/cpp/pragma-once-1.c b/gcc/testsuite/gcc.dg/cpp/pragma-once-1.c
new file mode 100644 (file)
index 0000000..23e24b8
--- /dev/null
@@ -0,0 +1,8 @@
+/* PR preprocessor/15167 */
+/* Origin: Roland Meub <Roland.Meub@Tenovis.com> */
+
+/* { dg-do compile } */
+/* { dg-options "-I." } */
+
+#include "inc/pragma-once-1a.h"
+#include "pragma-once-1d.h"
diff --git a/gcc/testsuite/gcc.dg/cpp/pragma-once-1b.h b/gcc/testsuite/gcc.dg/cpp/pragma-once-1b.h
new file mode 100644 (file)
index 0000000..9c17db4
--- /dev/null
@@ -0,0 +1,8 @@
+#ifndef _B_H_
+#define _B_H_
+
+#pragma once
+
+#include "pragma-once-1c.h"
+
+#endif
diff --git a/gcc/testsuite/gcc.dg/cpp/pragma-once-1c.h b/gcc/testsuite/gcc.dg/cpp/pragma-once-1c.h
new file mode 100644 (file)
index 0000000..cd50024
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _C_H_
+#define _C_H_
+
+#include "pragma-once-1b.h"
+
+#endif
diff --git a/gcc/testsuite/gcc.dg/cpp/pragma-once-1d.h b/gcc/testsuite/gcc.dg/cpp/pragma-once-1d.h
new file mode 100644 (file)
index 0000000..0c5db2d
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _D_H_
+#define _D_H_
+
+#include "pragma-once-1b.h"
+
+#endif