[testsuite] Require non_strict_prototype in a few tests

Require effective target non_strict_prototype in a few test-cases.

Tested on nvptx.

gcc/testsuite/ChangeLog:

2022-02-10  Tom de Vries  <tdevries@suse.de>

	* gcc.c-torture/compile/pr100576.c: Require effective target
	non_strict_prototype.
	* gcc.c-torture/compile/pr97576.c: Same.
This commit is contained in:
Tom de Vries 2022-02-09 16:48:27 +01:00
parent 893aeac17c
commit 7cc6a8d00a
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
/* { dg-require-effective-target non_strict_prototype } */
/* PR middle-end/100576 */
const char v[] = {0x12};

View File

@ -1,3 +1,5 @@
/* { dg-require-effective-target non_strict_prototype } */
void
pc (void);