Mon P Wang | fc39dc4 | 2010-04-29 05:53:29 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s |
2 | |||||
3 | // Checks folding of an unordered comparison | ||||
4 | int nan_ne_check() { | ||||
5 | // CHECK: store i32 1 | ||||
6 | return (__builtin_nanf("") != __builtin_nanf("")) ? 1 : 0; | ||||
7 | } |