mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
214 B
Plaintext
12 lines
214 B
Plaintext
// #target: linux-x64
|
|
module test;
|
|
union Vec4f @export @align(16) {
|
|
struct { float x,y,z,w; }
|
|
float[<4>] v;
|
|
}
|
|
|
|
extern fn void foo(Vec4f) @cname("foo");
|
|
|
|
/* #expect: test.ll
|
|
|
|
declare void @foo(double, double) #0 |