rust/src/test/ui/invalid/invalid-llvm-passes.rs
Nikita Popov c2b15a6b64 Support -C passes in NewPM
And report an error if parsing the additional pass pipeline fails.
Threading through the error accounts for most of the changes here.
2021-05-08 10:58:08 +02:00

4 lines
97 B
Rust

// build-fail
// compile-flags: -Cpasses=unknown-pass -Z new-llvm-pass-manager=yes
fn main() {}