2011-06-28 18:29:37 -05:00
|
|
|
// tests that the pred in a claim isn't actually eval'd
|
|
|
|
use std;
|
2011-12-13 18:25:51 -06:00
|
|
|
import uint::*;
|
2011-06-28 18:29:37 -05:00
|
|
|
|
2011-08-23 20:25:50 -05:00
|
|
|
pure fn fails(a: uint) -> bool { fail; }
|
2011-06-28 18:29:37 -05:00
|
|
|
|
2011-08-19 17:16:48 -05:00
|
|
|
fn main() { let b: uint = 4u; claim (fails(b)); }
|