mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 15:33:53 +00:00
9 lines
133 B
Rust
9 lines
133 B
Rust
// compile-flags: -Z teach
|
|
|
|
#![feature(box_syntax)]
|
|
#![allow(warnings)]
|
|
|
|
const CON : Box<i32> = box 0; //~ ERROR E0010
|
|
|
|
fn main() {}
|