repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Sema
/
vector_swizzle_length.c
blob
dc3a56c5a01cbaa15f306218779b69a74a67307f
1
// RUN: %clang_cc1 -x c %s -verify -pedantic -fsyntax-only
2
// expected-no-diagnostics
3
4
typedef
float
float8
__attribute__
((
ext_vector_type
(
8
)));
5
6
void
foo
(
void
) {
7
float8 f2
= (
float8
){
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
8
(
void
)
f2
.
s01234
;
9
(
void
)
f2
.
xyzxy
;
10
}