PR c/81544 - attribute noreturn and warn_unused_result on the same function
authorMartin Sebor <msebor@redhat.com>
Mon, 11 Dec 2017 23:21:55 +0000 (23:21 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Mon, 11 Dec 2017 23:21:55 +0000 (16:21 -0700)
commiteedff70182852a43d62a463c4dd65cdd8d567c70
treef29d5072d6dba41cdf24b54d18ce8be5bc426041
parent0242c7f0aac22e47b73046b2d60bb5de68057d6a
PR c/81544 - attribute noreturn and warn_unused_result on the same function

PR c/81544 - attribute noreturn and warn_unused_result on the same function
accepted

Add tests missed in r255469.

From-SVN: r255557
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wattributes-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/Wattributes.c [new file with mode: 0644]
gcc/testsuite/g++.dg/Wattributes-2.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wattributes-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wattributes-7.c [new file with mode: 0644]