Sign in
cobalt
/
cobalt
/
6f9a742d28df516936362c4ae00efbea9c3b06f2
/
.
/
third_party
/
llvm-project
/
clang
/
test
/
Parser
/
vector-cast-define.cl
blob: ec4eba7a78488c02e66afe9a2c067b5b96408dcb [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -verify -pedantic -fsyntax-only
//
expected-no-diagnostics
typedef int int3 __attribute__
((
ext_vector_type
(
3
)))
;
void test
(
)
{
int index
=
(
int3
)
(
1
,
2
,
3
)
.
x
*
(
int3
)
(
3
,
2
,
1
)
.
y
;
}