1 // RUN: mlir-opt %s -canonicalize -split-input-file | FileCheck %s
3 func.func @test() -> i32 {
4 %c5 = "test.constant"() {value = 5 : i32} : () -> i32
5 %res = "test.manual_cpp_op_with_fold"(%c5) : (i32) -> i32
9 // CHECK-LABEL: func.func @test
10 // CHECK-NEXT: %[[C:.*]] = "test.constant"() <{value = 5 : i32}>
11 // CHECK-NEXT: return %[[C]]