aboutsummaryrefslogtreecommitdiff
path: root/mlir/unittests/IR/InterfaceAttachmentTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/unittests/IR/InterfaceAttachmentTest.cpp')
-rw-r--r--mlir/unittests/IR/InterfaceAttachmentTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/unittests/IR/InterfaceAttachmentTest.cpp b/mlir/unittests/IR/InterfaceAttachmentTest.cpp
index 2e1309a..16de34c 100644
--- a/mlir/unittests/IR/InterfaceAttachmentTest.cpp
+++ b/mlir/unittests/IR/InterfaceAttachmentTest.cpp
@@ -421,7 +421,7 @@ TEST(InterfaceAttachmentTest, PromisedInterfaces) {
// Attribute interfaces use the exact same mechanism as types, so just check
// that the promise mechanism works for attributes.
MLIRContext context;
- auto testDialect = context.getOrLoadDialect<test::TestDialect>();
+ auto *testDialect = context.getOrLoadDialect<test::TestDialect>();
auto attr = test::SimpleAAttr::get(&context);
// `SimpleAAttr` doesn't implement nor promises the