-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
161 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...tests/snapshots/rusty__codegen__tests__code_gen_tests__typed_enums_are_generated.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
source: src/codegen/tests/code_gen_tests.rs | ||
assertion_line: 2052 | ||
expression: result | ||
|
||
--- | ||
; ModuleID = 'main' | ||
source_filename = "main" | ||
|
||
@x = global i8 0 | ||
@y = global i16 0 | ||
@z = global i32 0 | ||
@red = unnamed_addr constant i32 0 | ||
@yellow = unnamed_addr constant i32 1 | ||
@green = unnamed_addr constant i32 2 | ||
|
16 changes: 16 additions & 0 deletions
16
...sty__codegen__tests__code_gen_tests__typed_enums_with_initializers_are_generated.snap.new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
source: src/codegen/tests/code_gen_tests.rs | ||
assertion_line: 2076 | ||
expression: result | ||
|
||
--- | ||
; ModuleID = 'main' | ||
source_filename = "main" | ||
|
||
@x = global i8 0 | ||
@y = global i16 0 | ||
@z = global i32 0 | ||
@red = unnamed_addr constant i32 22 | ||
@yellow = unnamed_addr constant i32 33 | ||
@green = unnamed_addr constant i32 44 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.