summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20050607-1.c
blob: 41579bbba5efcd6a78f3720b15dfa84903af2833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR middle-end/21850 */

extern void abort (void);

typedef int V2SI __attribute__ ((vector_size (8)));

int
main (void)
{
#if (__INT_MAX__ == 2147483647) \
    && (__LONG_LONG_MAX__ == 9223372036854775807LL)
  if (((int)(long long)(V2SI){ 2, 2 }) != 2)
    abort ();
#endif
  return 0;
}