minix/external/bsd/llvm/dist/clang/test/Sema/rdr6094103-unordered-compare-promote.c

7 lines
197 B
C
Raw Normal View History

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