From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- gcc/testsuite/gcc.dg/cpp/inc/foo.h | 1 + gcc/testsuite/gcc.dg/cpp/inc/pr20348-aux.h | 1 + gcc/testsuite/gcc.dg/cpp/inc/pr20348.h | 9 +++++++++ gcc/testsuite/gcc.dg/cpp/inc/pr20356-aux.h | 1 + gcc/testsuite/gcc.dg/cpp/inc/pr20356.h | 6 ++++++ gcc/testsuite/gcc.dg/cpp/inc/pragma-once-1a.h | 6 ++++++ 6 files changed, 24 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/cpp/inc/foo.h create mode 100644 gcc/testsuite/gcc.dg/cpp/inc/pr20348-aux.h create mode 100644 gcc/testsuite/gcc.dg/cpp/inc/pr20348.h create mode 100644 gcc/testsuite/gcc.dg/cpp/inc/pr20356-aux.h create mode 100644 gcc/testsuite/gcc.dg/cpp/inc/pr20356.h create mode 100644 gcc/testsuite/gcc.dg/cpp/inc/pragma-once-1a.h (limited to 'gcc/testsuite/gcc.dg/cpp/inc') diff --git a/gcc/testsuite/gcc.dg/cpp/inc/foo.h b/gcc/testsuite/gcc.dg/cpp/inc/foo.h new file mode 100644 index 000000000..ec770476c --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/inc/foo.h @@ -0,0 +1 @@ +extern int a; diff --git a/gcc/testsuite/gcc.dg/cpp/inc/pr20348-aux.h b/gcc/testsuite/gcc.dg/cpp/inc/pr20348-aux.h new file mode 100644 index 000000000..1f04c7569 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/inc/pr20348-aux.h @@ -0,0 +1 @@ +#include "pr20348.h" diff --git a/gcc/testsuite/gcc.dg/cpp/inc/pr20348.h b/gcc/testsuite/gcc.dg/cpp/inc/pr20348.h new file mode 100644 index 000000000..810bb36d7 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/inc/pr20348.h @@ -0,0 +1,9 @@ +#ifndef MIDDLE +# ifndef INC_PR20348_H_SEEN +# define INC_PR20348_H_SEEN +# else +# error inc/pr20348.h included twice before MIDDLE definition +# endif +#else +# error inc/pr20348.h included after MIDDLE definition +#endif diff --git a/gcc/testsuite/gcc.dg/cpp/inc/pr20356-aux.h b/gcc/testsuite/gcc.dg/cpp/inc/pr20356-aux.h new file mode 100644 index 000000000..3f4a67f8e --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/inc/pr20356-aux.h @@ -0,0 +1 @@ +#include "pr20356.h" diff --git a/gcc/testsuite/gcc.dg/cpp/inc/pr20356.h b/gcc/testsuite/gcc.dg/cpp/inc/pr20356.h new file mode 100644 index 000000000..582925739 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/inc/pr20356.h @@ -0,0 +1,6 @@ +#ifndef INC_PR20356_H +# define INC_PR20356_H +#endif +#ifndef PR20356_H +# include_next +#endif 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 index 000000000..7de641216 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/inc/pragma-once-1a.h @@ -0,0 +1,6 @@ +#ifndef _A_H_ +#define _A_H_ + +#include "../pragma-once-1b.h" + +#endif -- cgit v1.2.3