summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/long-long-cst1.c
blob: 7c60648d281c8d4439fc1bc3f1368d50b46d4a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR middle-end/27724 */
/* { dg-do run } */
/* { dg-options "" } */

extern void abort();

struct st{
  int _mark;
};
unsigned long long t = ((int)(__SIZE_TYPE__)&(((struct st*)16)->_mark) - 32);

int main()
{
  if (t != (unsigned long long)(int)-16)
    abort ();
  return 0;
}