We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad3829f + f1a9033 commit 5d4aef6Copy full SHA for 5d4aef6
src/test/run-pass/weird-exprs.rs
@@ -1,3 +1,5 @@
1
+#![feature(generators)]
2
+
3
#![allow(non_camel_case_types)]
4
#![allow(dead_code)]
5
#![allow(unreachable_code)]
@@ -141,6 +143,12 @@ fn r#match() {
141
143
assert_eq!(val, ());
142
144
}
145
146
+fn i_yield() {
147
+ static || {
148
+ yield yield yield yield yield yield yield yield yield;
149
+ };
150
+}
151
152
pub fn main() {
153
strange();
154
funny();
@@ -157,4 +165,5 @@ pub fn main() {
157
165
special_characters();
158
166
punch_card();
159
167
r#match();
168
+ i_yield();
160
169
0 commit comments