mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
32 lines
903 B
MLIR
32 lines
903 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
|
|
!uint64_t = !clift.int<unsigned 8>
|
|
|
|
!f_2 = !clift.func<
|
|
"/type-definition/2-RawFunctionDefinition" : !uint64_t(!uint64_t)
|
|
[
|
|
#clift.c_attribute<"_ABI" : "/macro/_ABI" [#clift.identifier<"raw_aarch64">]>
|
|
]
|
|
>
|
|
|
|
// CHECK: Unknown c-attribute ('_THIS_ONE_DOES_NOT_EXIST') found in '/function/0x1004:Code_aarch64'
|
|
|
|
module attributes { clift.module } {
|
|
|
|
clift.func @f_2<!f_2>(
|
|
!uint64_t {
|
|
clift.c_attributes = [],
|
|
clift.handle = "/cabi-argument/2-RawFunctionDefinition/x0_aarch64"
|
|
}
|
|
) -> !void attributes {
|
|
clift.c_attributes = [#clift.c_attribute<"_THIS_ONE_DOES_NOT_EXIST" : "/macro/_THIS_ONE_DOES_NOT_EXIST">],
|
|
handle = "/function/0x1004:Code_aarch64"
|
|
}
|
|
|
|
}
|