1
0
mirror of https://github.com/bspeice/qadapt synced 2024-09-21 09:21:30 -04:00
qadapt/tests/unused_panic.rs
2018-12-06 23:14:56 -05:00

8 lines
115 B
Rust

use qadapt::enter_protected;
#[test]
#[should_panic]
fn guard_without_initialization() {
enter_protected();
}