瀏覽代碼

Fix test for global procedure initialization

gingerBill 1 月之前
父節點
當前提交
a0462aa8d7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/internal/test_global_any.odin

+ 1 - 1
tests/internal/test_global_any.odin

@@ -3,7 +3,7 @@ package test_internal
 @(private="file")
 @(private="file")
 global_any_from_proc: any = from_proc()
 global_any_from_proc: any = from_proc()
 
 
-from_proc :: proc() -> f32 {
+from_proc :: proc "contextless" () -> f32 {
 	return 1.1
 	return 1.1
 }
 }