mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix in byte output for globals.
This commit is contained in:
@@ -6,8 +6,8 @@ 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
|
||||
@byte_literals.foob = global [1 x i8] c"\A0", align 1
|
||||
@byte_literals.fooz = global [7 x i8] c"\00\AA\BB\CC\DD\EE\FF", align 1
|
||||
@byte_literals.fooy = global [4 x i8] c"\DE\AD\BE\EF", align 1
|
||||
@byte_literals.foow = global [5 x i8] c"EI#M\ED", align 1
|
||||
@byte_literals.foo64 = global [11 x i8] c"Hello World", align 1
|
||||
|
||||
Reference in New Issue
Block a user