diff options
| author | Graydon Hoare <[email protected]> | 2011-04-19 13:35:49 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-19 13:35:49 -0700 |
| commit | d2bd07dcb02783063375b6c8532fceaf9fa9d50f (patch) | |
| tree | a253b5eadb140d14bc99d1456e316ce1e210a6be /src/test/run-pass/writealias.rs | |
| parent | rustc: Allow glue to be emitted even for scalar types; this is necessary to s... (diff) | |
| download | rust-d2bd07dcb02783063375b6c8532fceaf9fa9d50f.tar.xz rust-d2bd07dcb02783063375b6c8532fceaf9fa9d50f.zip | |
Remove effect system from src.
Diffstat (limited to 'src/test/run-pass/writealias.rs')
| -rw-r--r-- | src/test/run-pass/writealias.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/writealias.rs b/src/test/run-pass/writealias.rs index 551fb7d3..8bf8140f 100644 --- a/src/test/run-pass/writealias.rs +++ b/src/test/run-pass/writealias.rs @@ -2,11 +2,11 @@ type point = rec(int x, int y, mutable int z); -impure fn f(& mutable point p) { +fn f(& mutable point p) { p.z = 13; } -impure fn main() { +fn main() { let point x = rec(x=10, y=11, mutable z=12); f(x); check (x.z == 13); |