From 42dc2d541abcdb844fd47cfee7c6e510697a250e Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sun, 4 Jan 2026 22:05:01 +0100 Subject: [PATCH] Add testcase. --- test/test_suite/abi/linux_x64_test.c3t | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/test_suite/abi/linux_x64_test.c3t diff --git a/test/test_suite/abi/linux_x64_test.c3t b/test/test_suite/abi/linux_x64_test.c3t new file mode 100644 index 000000000..040b5d0af --- /dev/null +++ b/test/test_suite/abi/linux_x64_test.c3t @@ -0,0 +1,20 @@ +// #target: linux-x64 +module testme; + +fn void main(String[] args) +{ + Configuration config; +} + +struct Configuration +{ + LoadFn loadModuleFn; +} + +alias LoadFn = fn Result(); +alias CompleteFn = fn void (Result result); + +struct Result +{ + CompleteFn onComplete; +} \ No newline at end of file