aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/tic6x/rotdi16.c
blob: 33b052ad4326c55f52918176b07395cf74ffa142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do run } */
/* { dg-options "-O2" } */

#include <stdlib.h>

unsigned long long z = 0x012389ab4567cdefull;

int main ()
{
  unsigned long long z2 = (z << 48) | (z >> 16);
  if (z2 != 0xcdef012389ab4567ull)
    abort ();
  exit (0);
}