Files
2026-06-03 13:59:53 +02:00

26 lines
717 B
MLIR

//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// RUN: not %root/bin/revng pipe verify-against-model %S/model.yml %s /dev/null 2>&1 | FileCheck %s
!void = !clift.void
!generic64_t = !clift.int<generic 8>
!f = !clift.func<
"/type-definition/0-CABIFunctionDefinition" : !void()
[#clift.c_attribute<"_ABI" : "/macro/_ABI" [#clift.identifier<"AAPCS64">]>]
>
module attributes {clift.module} {
// CHECK: error: `_ALWAYS_INLINE` is attached to a function that does not have it in the model. See '/function/0x1004:Code_aarch64'
clift.func @f_1<!f>() -> !void attributes {
clift.c_attributes = [],
handle = "/function/0x1004:Code_aarch64",
always_inline
}
}