diff --git a/tests/should_succeed/compile_time_if.jou b/tests/should_succeed/compile_time_if.jou index 9aad81fd..563d5603 100644 --- a/tests/should_succeed/compile_time_if.jou +++ b/tests/should_succeed/compile_time_if.jou @@ -14,9 +14,15 @@ else: # Test and,or,not operators -if WINDOWS or MACOS: +if WINDOWS: def bar1() -> None: printf("One") + +if MACOS: + def bar1() -> None: + printf("One") + +if WINDOWS or MACOS: def bar2() -> None: printf("Two\n")