13 lines · plain
1// RUN: cir-opt %s -verify-diagnostics -split-input-file2 3!s32i = !cir.int<s, 32>4 5module {6 // expected-error@+3 {{must be the first operation in a block}}7 cir.func @error(){8 %0 = cir.const #cir.int<0> : !s32i9 cir.label "label"10 cir.return11 }12}13