Skip to content

Commit

Permalink
Improve test slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Feb 19, 2024
1 parent 46c538c commit c21bb6f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/should_succeed/compile_time_if.jou
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit c21bb6f

Please sign in to comment.