Explorar o código

Fix test for global procedure initialization

gingerBill hai 1 mes
pai
achega
a0462aa8d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 }