diff options
Diffstat (limited to 'tests/ui/error-codes/E0010.rs')
-rw-r--r-- | tests/ui/error-codes/E0010.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0010.rs b/tests/ui/error-codes/E0010.rs new file mode 100644 index 000000000..e62997640 --- /dev/null +++ b/tests/ui/error-codes/E0010.rs @@ -0,0 +1,6 @@ +#![feature(box_syntax)] +#![allow(warnings)] + +const CON : Box<i32> = box 0; //~ ERROR E0010 + +fn main() {} |