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
22
3- #![ feature( generators ) ]
3+ #![ feature( coroutines ) ]
44
55#![ allow( non_camel_case_types) ]
66#![ allow( dead_code) ]
@@ -231,6 +231,31 @@ fn infcx() {
231231 let _cx: cx:: cx:: Cx = cx:: cx:: cx:: cx:: cx:: Cx ;
232232}
233233
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+
234259pub fn main ( ) {
235260 strange ( ) ;
236261 funny ( ) ;
@@ -257,4 +282,6 @@ pub fn main() {
257282 semisemisemisemisemi ( ) ;
258283 useful_syntax ( ) ;
259284 infcx ( ) ;
285+ return_already ( ) ;
286+ fake_macros ( ) ;
260287}
You can’t perform that action at this time.
0 commit comments