summaryrefslogtreecommitdiffstats
path: root/test/Sema/rdr6094103-unordered-compare-promote.c
blob: 9991982a20b27fcc7385c56a1b5a68f08d1a596e (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -ast-dump %s 2>&1 | grep ImplicitCastExpr | count 2

int foo (double x, long double y) {
  // There needs to be an implicit cast on x here.
  return __builtin_isgreater(x, y);
}