Fix test breakage due to bug# 6354.

http://d.puremagic.com/issues/show_bug.cgi?id=6354

The test in question should be re-enabled once 6354 has been fixed.
This commit is contained in:
jmdavis 2011-07-31 19:10:18 -07:00
parent 10ef435bc4
commit 8167a7aedb

View file

@ -1317,6 +1317,8 @@ unittest
static if(isSigned!T)
assert(swapEndian(swapEndian(cast(T)0)) == 0);
// @@@BUG6354@@@
/+
static if(T.sizeof > 1 && isUnsigned!T)
{
T left = 0xffU;
@ -1331,6 +1333,7 @@ unittest
right <<= 8;
}
}
+/
}
}