// // This file is distributed under the MIT License. See LICENSE.md for details. // // RUN: %revngcliftopt %s --emit-c="tagless model=%S/model.yml" -o /dev/null | FileCheck %s !void = !clift.primitive !char$const = !clift.primitive !f = !clift.defined<#clift.func< "/type-definition/1001-CABIFunctionDefinition" : !void() >> clift.module { // CHECK: void fun_0x40001001(void) { clift.func @f() attributes { handle = "/function/0x40001001:Code_x86_64" } { // CHECK: "hello"; clift.expr { %s = clift.str "hello" : !clift.array<6 x !char$const> clift.yield %s : !clift.array<6 x !char$const> } } // CHECK: } }