aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/920501-18.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/920501-18.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.c-torture/compile/920501-18.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/920501-18.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/920501-18.c
new file mode 100644
index 000000000..70f7c0af5
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/920501-18.c
@@ -0,0 +1,2 @@
+union u{int i;float f;};
+x(p)int p;{union u x;for(x.i=0;x.i<p;x.i++)if(x.f>(float)3.0)break;}