Files
revng-revng/tests/filecheck/clift/expressions/string-with-bad-array-size.mlir
2026-06-03 13:59:53 +02:00

11 lines
302 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
!char$const = !clift.const<!clift.int<number 1>>
// CHECK: result type length must match string length
clift.str "hello" : !clift.array<5 x !char$const>