summaryrefslogtreecommitdiff
path: root/clang/test/Sema/rdr6094103-unordered-compare-promote.c
blob: 7bb363e797c86e29c07a94733895f76cb4f1644d (about) (plain)
1
2
3
4
5
6
// 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);
}