12 lines · plain
1// RUN: cir-opt %s -verify-diagnostics2 3module {4 cir.func @l0() {5 cir.return6 }7 8 cir.func @disallowedAttr() attributes {comdat} { // expected-error{{custom op 'cir.func' attribute 'comdat' should not be specified in the explicit attribute list}}9 cir.return10 }11}12