From: Nathan Sidwell Date: Tue, 7 Jul 2020 18:43:58 +0000 (-0700) Subject: testsuite: missed testcase X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fd1b9dc8507669f4a6250788452b52322c4570b;p=gcc.git 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 --- 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 00000000000..c72be8042b5 --- /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