mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
26 lines
270 B
Plaintext
26 lines
270 B
Plaintext
// #target: macos-x64
|
|
struct Abc
|
|
{
|
|
long a;
|
|
long b;
|
|
long c;
|
|
long d;
|
|
long e;
|
|
}
|
|
|
|
extern fn Abc foo1();
|
|
extern fn Abc foo2();
|
|
|
|
fn void bar()
|
|
{
|
|
Abc dummy1 = foo1();
|
|
Abc dummy2 = foo2();
|
|
}
|
|
|
|
|
|
/* #expect: sret.ll
|
|
|
|
sret(%Abc)
|
|
sret(%Abc)
|
|
sret(%Abc)
|
|
sret(%Abc) |