Debian Codegraph @

clang/test/CIR/IR/invalid-func-attr.cir

raw
1 // RUN: cir-opt %s -verify-diagnostics
2
3 module {
4 cir.func @l0() {
5 cir.return
6 }
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.return
10 }
11 }