aboutsummaryrefslogtreecommitdiffstats
path: root/test/Standalone/dummy.mlir
blob: cb688d27344335813ded5289990f6d0f59d9438d (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: standalone-opt %s | standalone-opt | FileCheck %s

module {
    // CHECK-LABEL: func @bar()
    func.func @bar() {
        %0 = arith.constant 1 : i32
        // CHECK: %{{.*}} = standalone.foo %{{.*}} : i32
        %res = standalone.foo %0 : i32
        return
    }
}