summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/simd-1.c
blob: 6a07bbb6ac6b492e8df5d33f259a8a8d6740bf60 (plain)
1
2
3
4
5
6
7
typedef int v2si __attribute__ ((vector_size (8)));
typedef unsigned di __attribute__ ((mode(DI)));
void foo(unsigned long);
void bar() {
    v2si x = { 1, 2 };
    foo((di) x);
}