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