17 lines · plain
1// RUN: standalone-opt %s | standalone-opt | FileCheck %s2 3module {4 // CHECK-LABEL: func @bar()5 func.func @bar() {6 %0 = arith.constant 1 : i327 // CHECK: %{{.*}} = standalone.foo %{{.*}} : i328 %res = standalone.foo %0 : i329 return10 }11 12 // CHECK-LABEL: func @standalone_types(%arg0: !standalone.custom<"10">)13 func.func @standalone_types(%arg0: !standalone.custom<"10">) {14 return15 }16}17