diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/torture/pr54027.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.dg/torture/pr54027.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr54027.c b/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr54027.c new file mode 100644 index 000000000..b5568f437 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr54027.c @@ -0,0 +1,9 @@ +/* { dg-do run } */ + +int main (void) +{ + int x = 1; + while (x) + x <<= 1; + return x; +} |