diff options
Diffstat (limited to 'SingleSource/Regression/C/gcc-c-torture/execute/pr78856.c')
-rw-r--r-- | SingleSource/Regression/C/gcc-c-torture/execute/pr78856.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/SingleSource/Regression/C/gcc-c-torture/execute/pr78856.c b/SingleSource/Regression/C/gcc-c-torture/execute/pr78856.c new file mode 100644 index 00000000..4663256e --- /dev/null +++ b/SingleSource/Regression/C/gcc-c-torture/execute/pr78856.c @@ -0,0 +1,24 @@ +extern void exit (int); + +int a, b, c, d, e, f[3]; + +int main() +{ + while (d) + while (1) + ; + int g = 0, h, i = 0; + for (; g < 21; g += 9) + { + int j = 1; + for (h = 0; h < 3; h++) + f[h] = 1; + for (; j < 10; j++) { + d = i && (b ? 0 : c); + i = 1; + if (g) + a = e; + } + } + exit (0); +} |