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