blob: 7fd5f26998a097626123d6b4a9684f0c214a448d [file] [log] [blame] [edit]
// RUN: mlir-translate -verify-diagnostics -mlir-to-llvmir --no-implicit-module %s
// expected-error@below {{'llvm.func' op can not be translated to an LLVMIR module}}
llvm.func @foo() {
llvm.return
}