Debian Codegraph @

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

raw
1 // RUN: cir-opt %s -verify-diagnostics -split-input-file
2
3 // expected-error@+1 {{goto/label mismatch}}
4 cir.func @bad_goto() -> () {
5 cir.goto "somewhere"
6 ^bb1:
7 cir.label "label"
8 cir.return
9 }