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