☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CIR
/
IR
/
invalid-goto.cir
☽
☼
clang/test/CIR/IR/invalid-goto.cir
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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
}