Skip to content

Commit

Permalink
Move run-pass test to run-pass/generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Jun 22, 2019
1 parent 8450289 commit 93aa60b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit 93aa60b

Please sign in to comment.