Skip to content

Commit

Permalink
missing at-static test (JuliaLang#40818)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramtayl authored and johanmon committed Jul 5, 2021
1 parent 4d3b06a commit 7642073
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/osutils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ end
@test (@static if false 1 elseif false 2 else 3 end) === 3
@test (@static if false 1 elseif false 2 elseif true && false 3 else 4 end) === 4
@test (@static if false 1 elseif false 2 elseif true && false 3 end) === nothing
@test_throws ArgumentError("invalid @static macro") @macroexpand @static 1
end

if Sys.iswindows()
Expand Down

0 comments on commit 7642073

Please sign in to comment.