Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/execute/pr42142.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
int __attribute__((noinline,noclone)) sort(int L) { int end[2] = { 10, 10, }, i=0, R; while (i<2) { R = end[i]; if (L<R) { end[i+1] = 1; end[i] = 10; ++i; } else break; } return i; } extern void abort (void); int main() { if (sort (5) != 1) abort (); return 0; }