Debian Codegraph @

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

raw
1 // RUN: cir-opt %s -verify-diagnostics
2
3 module {
4 cir.func @l0() {
5 cir.return
6 }
7
8 cir.func @l1() alias(@l0) { // expected-error {{function alias shall not have a body}}
9 cir.return
10 }
11 }