1 // RUN: mlir-opt %s -test-func-insert-arg -split-input-file | FileCheck %s
3 // CHECK: func @f(%arg0: i1 {test.A})
4 func.func @f() attributes {test.insert_args = [
11 // CHECK: func @f(%arg0: i1 {test.A}, %arg1: i2 {test.B})
12 func.func @f(%arg0: i2 {test.B}) attributes {test.insert_args = [
19 // CHECK: func @f(%arg0: i1 {test.A}, %arg1: i2 {test.B})
20 func.func @f(%arg0: i1 {test.A}) attributes {test.insert_args = [
27 // CHECK: func @f(%arg0: i1 {test.A}, %arg1: i2 {test.B}, %arg2: i3 {test.C})
28 func.func @f(%arg0: i1 {test.A}, %arg1: i3 {test.C}) attributes {test.insert_args = [
35 // CHECK: func @f(%arg0: i1 {test.A}, %arg1: i2 {test.B}, %arg2: i3 {test.C})
36 func.func @f(%arg0: i2 {test.B}) attributes {test.insert_args = [
44 // CHECK: func @f(%arg0: i1 {test.A}, %arg1: i2 {test.B}, %arg2: i3 {test.C})
45 func.func @f(%arg0: i3 {test.C}) attributes {test.insert_args = [