mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
19 lines
305 B
Plaintext
19 lines
305 B
Plaintext
// #target: macos-x64
|
|
module test;
|
|
import std;
|
|
|
|
fn void main()
|
|
{
|
|
char[3] $x = { 1, 2, 5 };
|
|
char[] y = $x;
|
|
String $a = "hello";
|
|
char[2] $b = { 'a', 'b' };
|
|
var $c = $a +++ $b;
|
|
String y2 = $c;
|
|
char[] $bytes = x'0103ff';
|
|
var $d = $bytes +++ $b;
|
|
char[] z = $d;
|
|
}
|
|
/* expect: test.ll
|
|
|
|
feofke |