1// RUN: mlir-opt %s -split-input-file -allow-unregistered-dialect -verify-diagnostics | FileCheck %s 2 3func.func @number_attr_f64() { 4 "test.number_attr"() { 5 // CHECK: attr = #complex.number<:f64 1.000000e+00, 0.000000e+00> : complex<f64> 6 attr = #complex.number<:f64 1.0, 0.0> 7 } : () -> () 8 9 return 10} 11 12func.func @number_attr_f32() { 13 "test.number_attr"() { 14 // CHECK: attr = #complex.number<:f32 1.000000e+00, 0.000000e+00> : complex<f32> 15 attr = #complex.number<:f32 1.0, 0.0> 16 } : () -> () 17 18 return 19} 20