diff options
| author | Patrick Walton <[email protected]> | 2010-07-16 15:33:30 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-07-16 15:34:25 -0700 |
| commit | 1ac01e16cf8d85334c25d68fc31db1beac740fc0 (patch) | |
| tree | 3dad7060b44ff869681749f9d5eb14bff7d33fc0 /src/test/run-pass | |
| parent | Un-XFAIL a couple tests fixed by pcwalton's new typechecker. Closes #50. Clos... (diff) | |
| download | rust-1ac01e16cf8d85334c25d68fc31db1beac740fc0.tar.xz rust-1ac01e16cf8d85334c25d68fc31db1beac740fc0.zip | |
Ensure that functions that should return a value do; issue 41
Diffstat (limited to 'src/test/run-pass')
| -rw-r--r-- | src/test/run-pass/complex.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/complex.rs b/src/test/run-pass/complex.rs index 3a6c13f3..3687de7a 100644 --- a/src/test/run-pass/complex.rs +++ b/src/test/run-pass/complex.rs @@ -21,6 +21,7 @@ fn foo(int x) -> int { let t z; z = 0x55; foo(z); + ret 0; } fn main() { |