diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-07-07 11:43:58 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-07-07 11:45:16 -0700 |
commit | 7fd1b9dc8507669f4a6250788452b52322c4570b (patch) | |
tree | d542dc5479d2b9290cb263cf8747011d7b3d2121 /gcc | |
parent | 6bf2ff0d52a90acdc54f18c75d1978f6b4de4609 (diff) | |
download | gcc-7fd1b9dc8507669f4a6250788452b52322c4570b.zip gcc-7fd1b9dc8507669f4a6250788452b52322c4570b.tar.gz gcc-7fd1b9dc8507669f4a6250788452b52322c4570b.tar.bz2 |
testsuite: missed testcase
I discovered I'd missed applying a testcase when fixing up the EOF
token location a while back.
gcc/testsuite/
* c-c++-common/cpp/pragma-eof.c: New
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/c-c++-common/cpp/pragma-eof.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/cpp/pragma-eof.c b/gcc/testsuite/c-c++-common/cpp/pragma-eof.c new file mode 100644 index 0000000..c72be80 --- /dev/null +++ b/gcc/testsuite/c-c++-common/cpp/pragma-eof.c @@ -0,0 +1,6 @@ +/* { dg-additional-options -fopenmp } */ + +/* { dg-error "expected" "" { target *-*-* } 6 } */ +/* Make sure we see pragma_eol even though lacking new line. * +/* no newline at end of file. */ +#pragma omp parallel
\ No newline at end of file |