ctx, mlirStringRefCreateFromCString(
"not_existing_dialect.not_existing_op")));
+ mlirContextDestroy(ctx);
return 0;
}
// CHECK: constant 0 : index
// CHECK: constant 1 : index
+ mlirOperationDestroy(constZero);
+ mlirOperationDestroy(constOne);
+ mlirContextDestroy(ctx);
return 0;
}
// CHECK: deleting user data (userData: 42)
// CHECK-NOT: processing diagnostic
// CHECK: more test diagnostics
+ mlirContextDestroy(ctx);
}
int testTypeID(MlirContext ctx) {