Driver: tweak handling of '--analyze' to invoke
[clang.git] / test / Sema / init-vector.c
blobf0cf32bd3f9c8a29faba4757eeb1e8a110e16296
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 typedef float __attribute__((vector_size (16))) v4f_t;
5 typedef union {
6 struct {
7 float x, y, z, w;
8 }s;
9 v4f_t v;
10 } vector_t;
13 vector_t foo(v4f_t p)
15 vector_t v = {.v = p};
16 return v;