aboutsummaryrefslogtreecommitdiffstats
path: root/test/Standalone/dummy.mlir
blob: ada4280cf88e9602f7ff43f77da83367bf343e35 (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 @bar() {
        %0 = constant 1 : i32
        // CHECK: %{{.*}} = standalone.foo %{{.*}} : i32
        %res = standalone.foo %0 : i32
        return
    }
}