llvm/mlir/test/Target/LLVMIR/Import/function-attributes-generic.ll

; RUN: mlir-translate -import-llvm -split-input-file %s --mlir-print-op-generic | FileCheck %s

; Ensure that no empty parameter attribute lists are created.
; CHECK: "llvm.func"
; CHECK-SAME:  <{
; CHECK-NOT:  arg_attr
; CHECK-NOT:  res_attrs
; CHECK-SAME:  }>
declare ptr @func_no_param_attrs()