diff options
Diffstat (limited to 'tests/run-make/const-prop-lint/input.rs')
-rw-r--r-- | tests/run-make/const-prop-lint/input.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-make/const-prop-lint/input.rs b/tests/run-make/const-prop-lint/input.rs new file mode 100644 index 000000000..ccbdfb8d5 --- /dev/null +++ b/tests/run-make/const-prop-lint/input.rs @@ -0,0 +1,5 @@ +#![deny(arithmetic_overflow)] + +fn main() { + let x = 255u8 + 1; +} |