1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -std=c99 %s -emit-llvm -o - | grep -v llvm.isunordered | not grep call
2*f4a2713aSLionel Sambuc
3*f4a2713aSLionel Sambuc _Bool A, B, C, D, E, F;
TestF(float X,float Y)4*f4a2713aSLionel Sambuc void TestF(float X, float Y) {
5*f4a2713aSLionel Sambuc A = __builtin_isgreater(X, Y);
6*f4a2713aSLionel Sambuc B = __builtin_isgreaterequal(X, Y);
7*f4a2713aSLionel Sambuc C = __builtin_isless(X, Y);
8*f4a2713aSLionel Sambuc D = __builtin_islessequal(X, Y);
9*f4a2713aSLionel Sambuc E = __builtin_islessgreater(X, Y);
10*f4a2713aSLionel Sambuc F = __builtin_isunordered(X, Y);
11*f4a2713aSLionel Sambuc }
TestD(double X,double Y)12*f4a2713aSLionel Sambuc void TestD(double X, double Y) {
13*f4a2713aSLionel Sambuc A = __builtin_isgreater(X, Y);
14*f4a2713aSLionel Sambuc B = __builtin_isgreaterequal(X, Y);
15*f4a2713aSLionel Sambuc C = __builtin_isless(X, Y);
16*f4a2713aSLionel Sambuc D = __builtin_islessequal(X, Y);
17*f4a2713aSLionel Sambuc E = __builtin_islessgreater(X, Y);
18*f4a2713aSLionel Sambuc F = __builtin_isunordered(X, Y);
19*f4a2713aSLionel Sambuc }
20