]> git.lizzy.rs Git - rust.git/blob - src/test/ui/panic-runtime/two-panic-runtimes.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / panic-runtime / two-panic-runtimes.rs
1 // build-fail
2 // dont-check-compiler-stderr
3 // error-pattern:cannot link together two panic runtimes: panic_runtime_unwind and panic_runtime_unwind2
4 // aux-build:panic-runtime-unwind.rs
5 // aux-build:panic-runtime-unwind2.rs
6 // aux-build:panic-runtime-lang-items.rs
7
8 #![no_std]
9 #![no_main]
10
11 extern crate panic_runtime_unwind;
12 extern crate panic_runtime_unwind2;
13 extern crate panic_runtime_lang_items;
14
15 fn main() {}