openacc: Fix up declare-pr94120.C testcase [PR94533]
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Apr 2020 17:54:35 +0000 (19:54 +0200)
committerJakub Jelinek <jakub@redhat.com>
Wed, 8 Apr 2020 17:54:35 +0000 (19:54 +0200)
commit08d1e7a5aabcf7eeac48bfd99deb80451b8f9974
treee68f49b37107c797ca0270c643d913401f7046a9
parent77d6dfc929832a542a25fc455b90f1a4bc83229c
openacc: Fix up declare-pr94120.C testcase [PR94533]

This test has been put in a wrong directory, where OpenACC tests aren't
tested with -fopenacc, and also contained trailing semicolons.
I've moved it where it belongs, added dg-error directives and removed
the extra semicolons.

2020-04-08  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/94120
PR testsuite/94533
* g++.dg/declare-pr94120.C: Move test to ...
* g++.dg/goacc/declare-pr94120.C: ... here.  Add dg-error directives.
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/declare-pr94120.C [deleted file]
gcc/testsuite/g++.dg/goacc/declare-pr94120.C [new file with mode: 0644]