Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr27743.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do run { target { stdint_types } } } */ #include <stdint.h> extern void abort(void); int32_t bar (int32_t a) { return ((uint32_t) ((a) >> 2)) >> 15; } int main() { if (bar (0xffff3000) != 0x1ffff) abort (); return 0; }