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