Add an XFAILed test for native "llvm" modules

This functionality is completely broken
This commit is contained in:
Brian Anderson 2011-09-11 23:14:42 -07:00
parent fda196769a
commit cb50e4329a

View File

@ -0,0 +1,10 @@
// xfail-test
native "llvm" mod llvm {
fn thesqrt(n: float) -> float = "sqrt.f64";
}
fn main() {
let s = llvm::thesqrt(4.0);
assert 1.9 < s && s < 2.1;
}