* gcc.c-torture/compile/20160615-1.c: New test.

From-SVN: r237489
This commit is contained in:
Jakub Jelinek 2016-06-15 19:10:44 +02:00 committed by Jakub Jelinek
parent f29468a73a
commit 61daecc46b
2 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2016-06-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20160615-1.c: New test.
* g++.dg/cpp0x/ref-qual17.C: New test.
2016-06-15 Ilya Enkovich <ilya.enkovich@intel.com>

View File

@ -0,0 +1,10 @@
int a;
void bar (int, unsigned, unsigned);
void
foo (unsigned x)
{
unsigned b = a ? x : 0;
if (x || b)
bar (0, x, b);
}