FileCheck mult_by_zero.

This commit is contained in:
Camille GILLOT 2023-12-02 20:39:26 +00:00
parent 8e9b912c4c
commit 902a3e2e75

View File

@ -1,9 +1,10 @@
// skip-filecheck
// unit-test: ConstProp
// EMIT_MIR mult_by_zero.test.ConstProp.diff
fn test(x : i32) -> i32 {
x * 0
fn test(x: i32) -> i32 {
// CHECK: fn test(
// CHECK: _0 = const 0_i32;
x * 0
}
fn main() {