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 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