Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (6 sloc) 204 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![warn(const_err)]
#![crate_type = "lib"]
pub const Z: u32 = 0 - 1;
//~^ WARN any use of this value will cause an error
pub type Foo = [i32; 0 - 1];
You can’t perform that action at this time.