Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
5ccfdd8d215c7bf324a14523c71ed328325c2bc8
/
.
/
test
/
CodeGen
/
const-unordered-compare.c
blob: ac7d35bcd5422e520e4658f0fb4892e3487a34c9 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
// Checks folding of an unordered comparison
int
nan_ne_check
()
{
// CHECK: store i32 1
return
(
__builtin_nanf
(
""
)
!=
__builtin_nanf
(
""
))
?
1
:
0
;
}