[mlir][py] Enable loading only specified dialects during creation. (#121421)
[llvm-project.git] / mlir / test / Target / SPIRV / invalid-module.mlir
blobeb1b0bc43ebc9bde14baf359f224ee272184ef70
1 // RUN: mlir-translate %s -serialize-spirv -no-implicit-module -verify-diagnostics
3 // expected-error@below {{expected a 'spirv.module' op, got 'builtin.module'}}
4 module {}