Skip to content

Commit c153e4e

Browse files
test: improve precompilation test
1 parent 98e782e commit c153e4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/precompilation.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ div_inf = @snoop_inference x / y
1111
const_div_inf = @snoop_inference x / 5
1212
pow_inf = @snoop_inference x ^ y
1313
print(devnull, Val{5}())
14-
const_pow_inf = @snoop_inference x ^ 5
14+
z = rand(Int)
15+
const_pow_inf = @snoop_inference x ^ z
1516
expr = x + sin(y) * z
1617
rules = Dict(x => y)
1718
fold = Val{false}()

0 commit comments

Comments
 (0)