add some debug-assertion crash tests
This commit is contained in:
parent
f415c07494
commit
716d99c3ff
10 changed files with 146 additions and 0 deletions
11
tests/crashes/120175.rs
Normal file
11
tests/crashes/120175.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
//@ known-bug: #120175
|
||||
//@ needs-rustc-debug-assertions
|
||||
|
||||
#![feature(extern_types)]
|
||||
|
||||
#[link(name = "bar", import_name_type = "decorated", kind = "raw-dylib")]
|
||||
extern "C" {
|
||||
pub type CrossCrate;
|
||||
}
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue