diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /gcc/testsuite/gcc.dg/cpp/inc | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
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.
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/inc')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/inc/foo.h | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/inc/pr20348-aux.h | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/inc/pr20348.h | 9 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/inc/pr20356-aux.h | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/inc/pr20356.h | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/inc/pragma-once-1a.h | 6 |
6 files changed, 24 insertions, 0 deletions
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 <pr20356.h> +#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 |