1 // RUN: mlir-opt -allow-unregistered-dialect --split-input-file %s | FileCheck %s
3 // This is a testing that a non-qualified attribute in a custom format
4 // correctly preload the dialect before creating the attribute.
5 #attr = #test.nested_polynomial<poly=<1 + x**2>>
6 // CHECK-LABEL: @parse_correctly
7 llvm.func @parse_correctly() {
8 test.containing_int_polynomial_attr #attr
14 #attr2 = #test.nested_polynomial2<poly=<1 + x**2>>
15 // CHECK-LABEL: @parse_correctly_2
16 llvm.func @parse_correctly_2() {
17 test.containing_int_polynomial_attr2 #attr2