mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update CI, add example.
This commit is contained in:
12
test/test_suite/vector/vector_lowering_regression1.c3t
Normal file
12
test/test_suite/vector/vector_lowering_regression1.c3t
Normal 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
|
||||
Reference in New Issue
Block a user