rust-gpu/tests/ui/lang/panic/simple.rs

10 lines
129 B
Rust
Raw Normal View History

// Test that calling `panic!` works.
// build-pass
use spirv_std as _;
#[spirv(fragment)]
pub fn main() {
panic!("aaa");
}