xref: /llvm-project/mlir/test/Target/LLVMIR/Import/global-struct.ll (revision 18439cfc14fe35884e75761819a63763d03fe46c)
1; RUN: mlir-translate --import-llvm %s | FileCheck %s
2
3; Ensure both structs have different names.
4; CHECK: llvm.func @fn(!llvm.struct<"[[NAME:[^"]*]]",
5; CHECK-NOT: struct<"[[NAME]]",
6%0 = type { %1 }
7%1 = type { i8 }
8declare void @fn(%0)
9