mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add testcase.
This commit is contained in:
20
test/test_suite/abi/linux_x64_test.c3t
Normal file
20
test/test_suite/abi/linux_x64_test.c3t
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user