* gcc.c-torture/compile/20160615-1.c: New test.
From-SVN: r237489
This commit is contained in:
parent
f29468a73a
commit
61daecc46b
@ -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>
|
||||
|
10
gcc/testsuite/gcc.c-torture/compile/20160615-1.c
Normal file
10
gcc/testsuite/gcc.c-torture/compile/20160615-1.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user