mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
14 lines
348 B
MLIR
14 lines
348 B
MLIR
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
// RUN: not %root/bin/revng clift-opt %s 2>&1 | FileCheck %s
|
|
|
|
!int32_t = !clift.int<signed 4>
|
|
!int32_t$const = !clift.const<!clift.int<signed 4>>
|
|
|
|
%lvalue = clift.local : !int32_t$const
|
|
|
|
// CHECK: operand #0 must be modifiable
|
|
clift.inc %lvalue : !int32_t$const
|