brintos

brintos / llvm-project-archived public Read only

0
0
Text · 196 B · 9f58bac Raw
10 lines · plain
1// RUN: cir-opt %s -verify-diagnostics -split-input-file2 3// expected-error@+1 {{goto/label mismatch}}4cir.func @bad_goto() -> () {5  cir.goto "somewhere"6^bb1:7  cir.label "label"8  cir.return9}10