Looping
diff --git a/tests/cases/function.rs b/tests/cases/function.rs
index 38cd72b..d80e29f 100644
--- a/tests/cases/function.rs
+++ b/tests/cases/function.rs
@@ -36,6 +36,24 @@
     };
 }
 
+fn looping() {
+    loop {
+        print(a);
+    };
+
+    while true {
+        print(a);
+    };
+
+    while let a = true {
+        print(a);
+    };
+
+    for a in b {
+        print(a);
+    };
+}
+
 fn item() {
     struct S;