1// RUN: mlir-translate -verify-diagnostics -mlir-to-llvmir --no-implicit-module %s 2 3// expected-error@below {{'llvm.func' op can not be translated to an LLVMIR module}} 4llvm.func @foo() { 5 llvm.return 6} 7