Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/execute/20020225-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
static int test(int x) { union { int i; double d; } a; a.d = 0; a.i = 1; return x >> a.i; } int main(void) { if (test (5) != 2) abort (); exit (0); }