Move run-pass test to run-pass/generator
This commit is contained in:
parent
8450289e65
commit
93aa60b4bf
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
// Regression test for broken MIR error (#61442)
|
||||
// Due to the two possible evaluation orders for
|
||||
// a '+=' expression (depending on whether or not the 'AddAssign' trait
|
||||
// is being used), we were failing to account for all types that might
|
||||
// possibly be live across a yield point.
|
||||
|
||||
#![feature(generators)]
|
||||
|
||||
fn foo() {
|
Loading…
Add table
Add a link
Reference in a new issue