]> git.proxmox.com Git - rustc.git/blame - src/llvm/tools/clang/test/Sema/rdr6094103-unordered-compare-promote.c
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / Sema / rdr6094103-unordered-compare-promote.c
CommitLineData
223e47cc
LB
1// RUN: %clang_cc1 -ast-dump %s 2>&1 | grep ImplicitCastExpr | count 4
2
3int foo (double x, long double y) {
4 // There needs to be an implicit cast on x here.
5 return __builtin_isgreater(x, y);
6}