소스 검색

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")
 global_any_from_proc: any = from_proc()
 
-from_proc :: proc() -> f32 {
+from_proc :: proc "contextless" () -> f32 {
 	return 1.1
 }