File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ GlobalContext() = Context(API.LLVMGetGlobalContext())
30
30
if version () > v " 13.0.0"
31
31
supports_typed_pointers (ctx:: Context ) = API. LLVMContextSupportsTypedPointers (ctx) == 1
32
32
else
33
- supports_typed_pointers (ctx:: Context ) = false
33
+ supports_typed_pointers (ctx:: Context ) = true
34
34
end
35
35
36
36
# # wrapper exception type
Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ Context() do ctx end
27
27
28
28
@dispose ctx= Context () begin
29
29
@test LLVM. supports_typed_pointers (ctx) isa Bool
30
+ if LLVM. version () > v " 15.0.0"
31
+ @test LLVM. supports_typed_pointers (ctx) == false
32
+ elseif LLVM. version () > v " 14.0.0"
33
+ @test LLVM. supports_typed_pointers (ctx) isa Bool
34
+ else
35
+ @test LLVM. supports_typed_pointers (ctx) == true
36
+ end
30
37
end
31
38
32
39
end
You can’t perform that action at this time.
0 commit comments