testsuite: Add testcase for already fixed PR [PR94686]

This has been fixed by the PR71311 r7-1170-g4618c453205f18
change.

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

	PR c/94686
	* gcc.c-torture/compile/pr94686.c: New test.
This commit is contained in:
Jakub Jelinek 2020-04-21 12:47:46 +02:00
parent cd08718d57
commit 187bdbd564
2 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,9 @@
2020-04-21 Iain Sandoe <iain@sandoe.co.uk>
2020-04-21 Jakub Jelinek <jakub@redhat.com>
PR c/94686
* gcc.c-torture/compile/pr94686.c: New test.
2020-04-21 Iain Sandoe <iain@sandoe.co.uk>
PR c++/94661
* g++.dg/coroutines/ramp-return-a.C: New test.
@ -1277,7 +1282,7 @@
PR c++/94336 - template keyword accepted before destructor names.
* g++.dg/template/template-keyword2.C: New test.
2020-03-27 Iain Sandoe <iain@sandoe.co.uk>
2020-03-27 Iain Sandoe <iain@sandoe.co.uk>
* g++.dg/coroutines/torture/symmetric-transfer-00-basic.C:
Add <cstdio>.

View File

@ -0,0 +1,9 @@
/* PR c/94686 */
int a = 0, b = 0;
int
foo (void)
{
return (int) (long) (b * 0 >= a & b * 0 >= a);
}