Skip to content

Commit

Permalink
Update CC fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
jruderman committed Mar 28, 2012
1 parent 8d8581e commit d0ddc69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fuzzer/cycles.rs
Expand Up @@ -68,7 +68,7 @@ fn test_cycles(r : rand::rng, k: uint, n: uint)
if (likelihood(r, k, n)) { v[i].c = @p(choice(r, v)); }

if (likelihood(r, k, n)) { v[i].f = bind nopP(choice(r, v)); }
if (false) { v[i].g = bind (fn~(_x: @pointy) { })(choice(r, v)); }
//if (false) { v[i].g = bind (fn~(_x: @pointy) { })(choice(r, v)); }
// https://github.com/mozilla/rust/issues/1899

if (likelihood(r, k, n)) { v[i].m = [p(choice(r, v))]; }
Expand All @@ -84,7 +84,7 @@ fn test_cycles(r : rand::rng, k: uint, n: uint)

fn main()
{
let r = rand::mk_rng();
let r = rand::rng();
range(0u, iters) {|i|
test_cycles(r, i, iters);
}
Expand Down

0 comments on commit d0ddc69

Please sign in to comment.