ladybird/Tests/LibELF/TestOrderExe.cpp

20 lines
320 B
C++

/*
* Copyright (c) 2024, Dan Klishch <danilklishch@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Format.h>
[[gnu::constructor]] static void init()
{
outln("TestOrderExe.cpp:init");
}
StringView f();
int main()
{
outln("TestOrderExe.cpp:main");
outln("f() returns: {}", f());
}