Enum attributes would be overwritten by enum value attributes.

This commit is contained in:
Christoffer Lerno
2024-09-19 23:02:06 +02:00
parent ff36380ddf
commit 2fec1c83a4
3 changed files with 3 additions and 2 deletions

View File

@@ -59,5 +59,5 @@ fn void main()
@test.BAZ2 = local_unnamed_addr constant i32 2, align 4
@test.ABC = local_unnamed_addr constant [1 x %TestUnion] [%TestUnion { i32 112 }], align 4
@test.BCD = local_unnamed_addr constant %TestUnion { i32 112 }, align 4
@test.MY_VALUE_1 = local_unnamed_addr constant i32 -1, align 4
@test.MY_VALUE_1 = local_unnamed_addr constant i32 32, align 4
@test.MY_VALUE_2 = local_unnamed_addr constant i32 32, align 4