bolt/deps/llvm-18.1.8/clang/test/AST/rdr6094103-unordered-compare-promote.c
2025-02-14 19:21:04 +01:00

6 lines
197 B
C

// 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);
}