mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-05 23:52:45 +00:00
8fbe78f6fc
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
18 lines
254 B
C
18 lines
254 B
C
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
typedef float __attribute__((vector_size (16))) v4f_t;
|
|
|
|
typedef union {
|
|
struct {
|
|
float x, y, z, w;
|
|
}s;
|
|
v4f_t v;
|
|
} vector_t;
|
|
|
|
|
|
vector_t foo(v4f_t p)
|
|
{
|
|
vector_t v = {.v = p};
|
|
return v;
|
|
}
|