mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
14 lines
495 B
Plaintext
14 lines
495 B
Plaintext
char[*] foob = x"a0";
|
|
char[*] fooz = x"00aabbccddeeff";
|
|
char[*] fooy = x'dead beef';
|
|
char[*] foow = x"4549234d e d";
|
|
char[*] foo64 = b64"SGVsbG8gV29ybGQ=";
|
|
|
|
// #expect: byte_literals.ll
|
|
|
|
@.bytes = private constant [1 x i8] c"\A0", align 1
|
|
@.bytes.5 = private constant [7 x i8] c"\00\AA\BB\CC\DD\EE\FF", align 1
|
|
@.bytes.6 = private constant [4 x i8] c"\DE\AD\BE\EF", align 1
|
|
@.bytes.7 = private constant [5 x i8] c"EI#M\ED", align 1
|
|
@.bytes.8 = private constant [11 x i8] c"Hello World", align 1
|