2012-09-11 19:46:20 -05:00
|
|
|
extern mod std;
|
2012-07-26 16:04:03 -05:00
|
|
|
|
|
|
|
fn siphash(k0 : u64) {
|
|
|
|
|
2012-08-15 20:46:55 -05:00
|
|
|
struct siphash {
|
2012-09-06 21:40:15 -05:00
|
|
|
mut v0: u64,
|
2012-09-07 21:04:40 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
impl siphash {
|
2012-07-26 16:04:03 -05:00
|
|
|
fn reset() {
|
|
|
|
self.v0 = k0 ^ 0x736f6d6570736575; //~ ERROR attempted dynamic environment-capture
|
|
|
|
//~^ ERROR unresolved name: k0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|