Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
refs/heads/users/matthias-springer/dialect_conv_no_fold
/
.
/
clang
/
test
/
Parser
/
vector-cast-define.cl
blob: 44acf9a6b0e62b1d18ae541ea774fe80be4dc612 [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -verify -pedantic -fsyntax-only
//
expected-no-diagnostics
typedef int int3 __attribute__
((
ext_vector_type
(
3
)))
;
void test
(
void
)
{
int index
=
(
int3
)
(
1
,
2
,
3
)
.
x
*
(
int3
)
(
3
,
2
,
1
)
.
y
;
}