1
0
mirror of https://github.com/bspeice/qadapt synced 2024-11-14 10:08:08 -05:00
qadapt/tests/usage.rs
Bradlee Speice 000d0032a9 Don't use proc macro
I really don't like the new syntax though,
much as I don't like proc_macro it may be coming back.
2018-11-14 23:31:10 -05:00

7 lines
110 B
Rust

extern crate qadapt;
#[test]
#[should_panic]
fn panic_not_using_qadapt() {
::qadapt::enter_protected();
}