2011-03-25 14:19:20 -05:00
|
|
|
// xfail-stage0
|
2010-07-25 23:45:09 -05:00
|
|
|
// -*- rust -*-
|
|
|
|
|
|
|
|
use std;
|
|
|
|
import std.rand;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let rand.rng r1 = rand.mk_rng();
|
|
|
|
log r1.next();
|
|
|
|
log r1.next();
|
|
|
|
{
|
|
|
|
auto r2 = rand.mk_rng();
|
|
|
|
log r1.next();
|
|
|
|
log r2.next();
|
|
|
|
log r1.next();
|
|
|
|
log r1.next();
|
|
|
|
log r2.next();
|
|
|
|
log r2.next();
|
|
|
|
log r1.next();
|
|
|
|
log r1.next();
|
|
|
|
log r1.next();
|
|
|
|
log r2.next();
|
|
|
|
log r2.next();
|
|
|
|
log r2.next();
|
|
|
|
}
|
|
|
|
log r1.next();
|
|
|
|
log r1.next();
|
|
|
|
}
|