Commit 187bdbd5 by Jakub Jelinek

testsuite: Add testcase for already fixed PR [PR94686]

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

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

	PR c/94686
	* gcc.c-torture/compile/pr94686.c: New test.
parent cd08718d
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 PR c++/94661
* g++.dg/coroutines/ramp-return-a.C: New test. * g++.dg/coroutines/ramp-return-a.C: New test.
...@@ -1277,7 +1282,7 @@ ...@@ -1277,7 +1282,7 @@
PR c++/94336 - template keyword accepted before destructor names. PR c++/94336 - template keyword accepted before destructor names.
* g++.dg/template/template-keyword2.C: New test. * 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: * g++.dg/coroutines/torture/symmetric-transfer-00-basic.C:
Add <cstdio>. Add <cstdio>.
......
/* PR c/94686 */
int a = 0, b = 0;
int
foo (void)
{
return (int) (long) (b * 0 >= a & b * 0 >= a);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment