Files
revng-revng/tests/unit/mlir_lit_tests/operations/while-with-struct-condition.mlir
2025-03-24 09:27:57 +02:00

18 lines
371 B
MLIR

//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// RUN: not %revngcliftopt %s 2>&1 | FileCheck %s
!void = !clift.primitive<void 0>
!s = !clift.defined<#clift.struct<
"/type-definition/1-StructDefinition" : size(1) {}
>>
// CHECK: condition requires a scalar type
clift.while {
%0 = clift.undef : !s
clift.yield %0 : !s
} {}