llvm-for-llvmta/tools/clang/test/AST/rdr6094103-unordered-compar...

7 lines
197 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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);
}