1# RUN: %PYTHON %s | FileCheck %s
2
3from mlir.ir import *
4import mlir.dialects.async_dialect
5import mlir.dialects.async_dialect.passes
6from mlir.passmanager import *
7
8def run(f):
9  print("\nTEST:", f.__name__)
10  f()
11
12def testAsyncPass():
13  with Context() as context:
14    PassManager.parse('async-to-async-runtime')
15  print('SUCCESS')
16
17# CHECK-LABEL: testAsyncPass
18#       CHECK: SUCCESS
19run(testAsyncPass)
20