File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change 1
- // run-pass
1
+ //@ run-pass
2
2
3
- #![ feature( generators ) ]
3
+ #![ feature( coroutines ) ]
4
4
5
5
#![ allow( non_camel_case_types) ]
6
6
#![ allow( dead_code) ]
@@ -231,6 +231,31 @@ fn infcx() {
231
231
let _cx: cx:: cx:: Cx = cx:: cx:: cx:: cx:: cx:: Cx ;
232
232
}
233
233
234
+ fn return_already ( ) -> impl std:: fmt:: Debug {
235
+ loop {
236
+ return !!!!!!!
237
+ break !!!!!!1111
238
+ }
239
+ }
240
+
241
+ fn fake_macros ( ) -> impl std:: fmt:: Debug {
242
+ loop {
243
+ if ! {
244
+ match ! (
245
+ break ! {
246
+ return ! {
247
+ 1337
248
+ }
249
+ }
250
+ )
251
+
252
+ { }
253
+ }
254
+
255
+ { }
256
+ }
257
+ }
258
+
234
259
pub fn main ( ) {
235
260
strange ( ) ;
236
261
funny ( ) ;
@@ -257,4 +282,6 @@ pub fn main() {
257
282
semisemisemisemisemi ( ) ;
258
283
useful_syntax ( ) ;
259
284
infcx ( ) ;
285
+ return_already ( ) ;
286
+ fake_macros ( ) ;
260
287
}
You can’t perform that action at this time.
0 commit comments