testsuite: Fix up two testcases [PR95008]
authorJakub Jelinek <jakub@redhat.com>
Sat, 9 May 2020 18:27:40 +0000 (20:27 +0200)
committerJakub Jelinek <jakub@redhat.com>
Sat, 9 May 2020 18:27:40 +0000 (20:27 +0200)
commit8415ced06ed9690dfbce8b8b5f2f4f98f15598b6
tree1ecf152759a6f35122ae6f9bc5b93d1d7b35c6c9
parenta33649e66640b35fc69f7f7f47346614a12b12d9
testsuite: Fix up two testcases [PR95008]

two-types-6.c never emitted the warning, even in 4.5/4.6, and pr93382.c
doesn't have properly escaped parens, so doesn't check whether they are
literally present in the message.

2020-05-09  Jakub Jelinek  <jakub@redhat.com>

PR testsuite/95008
* gcc.dg/two-types-6.c: Remove dg-warning directive that never
triggered.
* gcc.dg/analyzer/pr93382.c: Properly escape ()s in the diagnostic
message.
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/analyzer/pr93382.c
gcc/testsuite/gcc.dg/two-types-6.c