mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 18:04:13 +00:00
Move run-pass test to run-pass/generator
This commit is contained in:
parent
8450289e65
commit
93aa60b4bf
@ -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…
Reference in New Issue
Block a user