Debian Codegraph @

clang/test/CodeGen/const-unordered-compare.c

raw
1 // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
3 // Checks folding of an unordered comparison
4 int nan_ne_check(void) {
5 // CHECK: ret i32 1
6 return (__builtin_nanf("") != __builtin_nanf("")) ? 1 : 0;
7 }