Files
revng-revng/tests/filecheck/clift/operations/function-with-attributes.mlir
2026-06-03 13:59:53 +02:00

14 lines
317 B
MLIR

//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// RUN: %root/bin/revng clift-opt %s
!int32_t = !clift.int<signed 4>
!f = !clift.func<
"/type-definition/1-CABIFunctionDefinition" : !int32_t(!int32_t)
>
clift.func @f<!f>(!int32_t { my.a = "b" }) -> (!int32_t { my.c = "d" })