aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/tag-in-block.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/run-pass/tag-in-block.rs b/src/test/run-pass/tag-in-block.rs
new file mode 100644
index 00000000..3ee7b740
--- /dev/null
+++ b/src/test/run-pass/tag-in-block.rs
@@ -0,0 +1,13 @@
+fn foo() {
+ fn zed(bar z) {
+ }
+ tag bar {
+ nil;
+ }
+ fn baz() {
+ zed(nil);
+ }
+}
+
+fn main(vec[str] args) {
+}