[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / const-unordered-compare.c
blob6a219822b270b83444473dd75ff06e3fb101e32a
1 // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
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;