FileCheck indirect. · rust-lang/rust@6086dd6 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 6086dd6
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
1 | -// skip-filecheck | |
2 | 1 | // EMIT_MIR_FOR_EACH_PANIC_STRATEGY |
3 | 2 | // unit-test: ConstProp |
4 | 3 | // compile-flags: -C overflow-checks=on |
5 | 4 | |
6 | 5 | // EMIT_MIR indirect.main.ConstProp.diff |
7 | 6 | fn main() { |
7 | +// CHECK-LABEL: fn main( | |
8 | +// CHECK: debug x => [[x:_.*]]; | |
9 | +// CHECK: [[x]] = const 3_u8; | |
8 | 10 | let x = (2u32 as u8) + 1; |
9 | 11 | } |