ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/vax/pr56875.c

11 lines
267 B
C

/* { dg-do compile } */
/* { dg-options "" } */
/* { dg-final { scan-assembler "ashq .*,\\\$0xffffffffffffffff," } } */
/* { dg-final { scan-assembler-not "ashq .*,\\\$-1," } } */
unsigned long long
a (unsigned long i)
{
return ~(unsigned long long) 0 << i;
}