]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/AST/rdr6094103-unordered-compare-promote.c
Vendor import of clang trunk r338536:
[FreeBSD/FreeBSD.git] / test / AST / rdr6094103-unordered-compare-promote.c
1 // RUN: %clang_cc1 -ast-dump %s 2>&1 | grep ImplicitCastExpr | count 4
2
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 }