Sign in
cobalt
/
cobalt
/
refs/heads/22.lts.stable
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Sema
/
rdr6094103-unordered-compare-promote.c
blob: 7bb363e797c86e29c07a94733895f76cb4f1644d [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -ast-dump %s 2>&1 | grep ImplicitCastExpr | count 4
int
foo
(
double
x
,
long
double
y
)
{
// There needs to be an implicit cast on x here.
return
__builtin_isgreater
(
x
,
y
);
}