Commit 7094f0d3 by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/68252 (left operand of shift expression, while we shift > 0 integer)

2017-10-10  Jakub Jelinek  <jakub@redhat.com>

	PR c++/68252
	* g++.dg/other/pr68252.C: New test.

From-SVN: r253610
parent 71a84d92
2017-10-10 Jakub Jelinek <jakub@redhat.com> 2017-10-10 Jakub Jelinek <jakub@redhat.com>
PR c++/68252
* g++.dg/other/pr68252.C: New test.
PR target/79565 PR target/79565
PR target/82483 PR target/82483
* gcc.target/i386/pr82483-1.c: New test. * gcc.target/i386/pr82483-1.c: New test.
......
// PR c++/68252
struct Test {
static const int foo = (1 << sizeof (int)) * -3;
};
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