xref: /aosp_15_r20/external/clang/test/Sema/rdr6094103-unordered-compare-promote.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang_cc1 -ast-dump %s 2>&1 | grep ImplicitCastExpr | count 4
2*67e74705SXin Li 
foo(double x,long double y)3*67e74705SXin Li int foo (double x, long double y) {
4*67e74705SXin Li   // There needs to be an implicit cast on x here.
5*67e74705SXin Li   return __builtin_isgreater(x, y);
6*67e74705SXin Li }
7