Update CI, add example.

This commit is contained in:
Christoffer Lerno
2024-07-05 16:53:49 +02:00
parent 2ffb0cf5f7
commit c3ecad96b7
2 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
// #target: linux-x64
module test;
union Vec4f @export @align(16) {
struct { float x,y,z,w; }
float[<4>] v;
}
extern fn void foo(Vec4f) @extern("foo");
/* #expect: test.ll
declare void @foo(double, double) #0