Enable basic testing of __builtin_fpclassify.

llvm-svn: 105937
This commit is contained in:
Benjamin Kramer 2010-06-14 10:41:45 +00:00
parent 7039fcbc5d
commit c0b8f3bc53
1 changed files with 3 additions and 2 deletions

View File

@ -39,9 +39,10 @@ int main() {
Q(inff, ());
Q(infl, ());
P(fpclassify, (0, 1, 2, 3, 4, 1.0));
P(fpclassify, (0, 1, 2, 3, 4, 1.0f));
P(fpclassify, (0, 1, 2, 3, 4, 1.0l));
// FIXME:
// XXX note funny semantics for the (last) argument
// P(fpclassify, (FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, 1.0));
// P(isinf_sign, (1.0));
Q(nan, (""));