mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 06:26:55 +00:00
Add test case
This commit is contained in:
parent
a48367e21c
commit
73c026b73f
3
tests/ui/crashes/auxiliary/ice-7868-aux.rs
Normal file
3
tests/ui/crashes/auxiliary/ice-7868-aux.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn zero() {
|
||||
unsafe { 0 };
|
||||
}
|
6
tests/ui/crashes/ice-7868.rs
Normal file
6
tests/ui/crashes/ice-7868.rs
Normal file
@ -0,0 +1,6 @@
|
||||
#![warn(clippy::undocumented_unsafe_blocks)]
|
||||
|
||||
#[path = "auxiliary/ice-7868-aux.rs"]
|
||||
mod zero;
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue
Block a user