Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/execute/20021120-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
int g1, g2; void foo (int x) { int y; if (x) y = 793; else y = 793; g1 = 7930 / y; g2 = 7930 / x; } int main () { foo (793); if (g1 != 10 || g2 != 10) abort (); exit (0); }