diff options
| author | Roy Frostig <[email protected]> | 2010-06-24 08:13:32 -0700 |
|---|---|---|
| committer | Roy Frostig <[email protected]> | 2010-06-24 08:13:32 -0700 |
| commit | bc286c7f2ceb5c3d2e06ec72f78d28842f94ef65 (patch) | |
| tree | eac0b9f72ce3a7c97440bc76f38f5159ecc2cdfb /src/test/run-pass/alt-pattern-simple.rs | |
| parent | Update README to point to github, test email notification. (diff) | |
| download | rust-bc286c7f2ceb5c3d2e06ec72f78d28842f94ef65.tar.xz rust-bc286c7f2ceb5c3d2e06ec72f78d28842f94ef65.zip | |
Resolve and typecheck patterns in pattern alt.
Diffstat (limited to 'src/test/run-pass/alt-pattern-simple.rs')
| -rw-r--r-- | src/test/run-pass/alt-pattern-simple.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/run-pass/alt-pattern-simple.rs b/src/test/run-pass/alt-pattern-simple.rs new file mode 100644 index 00000000..d0a4159e --- /dev/null +++ b/src/test/run-pass/alt-pattern-simple.rs @@ -0,0 +1,7 @@ +fn altsimple(int f) { + alt (f) { + case (x) {} + } +} + +fn main() {} |