aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-10-02 17:27:24 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2022-10-02 17:27:24 +0200
commitfcb535b92278c22596441d9a881c4f1cd4c7fc95 (patch)
tree1856c3ffef4da8b0142d1216527aee556d6ffb20 /tools
parent8f6b082e67784c693d51ce8f9013cfff7ca643f6 (diff)
Fix signature print issue, and switch stmt in a switch type stmt.
Diffstat (limited to 'tools')
-rw-r--r--tools/odinfmt/tests/random/.snapshots/demo.odin4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/odinfmt/tests/random/.snapshots/demo.odin b/tools/odinfmt/tests/random/.snapshots/demo.odin
index 52f5b37..c93560f 100644
--- a/tools/odinfmt/tests/random/.snapshots/demo.odin
+++ b/tools/odinfmt/tests/random/.snapshots/demo.odin
@@ -1751,8 +1751,10 @@ foreign_system :: proc() {
}
// Example using the link_prefix attribute
- @(default_calling_convention = "std")
+
@(link_prefix = "Get")
+ @(default_calling_convention = "std")
+
foreign kernel32 {
LastError :: proc() -> i32 ---
}