Add test case
This commit is contained in:
parent
a48367e21c
commit
73c026b73f
2 changed files with 9 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue