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
[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git]
/
clang
/
test
/
SemaOpenCL
/
vec_compare.cl
blob
064305951158f4ab9e5b9ec2238c1fadcb2f2219
1
//
RUN
:
%clang_cc1 %s -verify -pedantic -fsyntax-only
2
//
expected-no-diagnostics
3
4
typedef __attribute__
((
ext_vector_type
(
2
)))
unsigned int uint2
;
5
typedef __attribute__
((
ext_vector_type
(
2
)))
int int2
;
6
7
void unsignedCompareOps
(
void
)
8
{
9
uint2 A
,
B
;
10
int2 result
=
A
!=
B
;
11
}
12