add a note
[oota-llvm.git] / test / CFrontend / 2006-03-16-VectorCtor.c
1 // Test that basic generic vector support works
2
3 // RUN: %llvmgcc %s -S -o -
4 // XFAIL: llvmgcc3
5
6 typedef int v4si __attribute__ ((__vector_size__ (16)));
7 void test(v4si *P, v4si *Q, float X) {
8   *P = (v4si){ X, X, X, X } * *Q;
9 }
10
11 v4si G = (v4si){ 0.1, 1.2, 4.2, 17.2 };
12