mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
14 lines
256 B
C
14 lines
256 B
C
// #target: macos-x64
|
|
|
|
module test;
|
|
import std::io;
|
|
|
|
fn void main()
|
|
{
|
|
int[<4>] a = { 1, -3, 5, -7 };
|
|
io::printfln("%s", $$reverse(a));
|
|
}
|
|
|
|
/* #expect: test.ll
|
|
|
|
%reverse = shufflevector <4 x i32> %3, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
|