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())
3030if version () > v " 13.0.0"
3131 supports_typed_pointers (ctx:: Context ) = API. LLVMContextSupportsTypedPointers (ctx) == 1
3232else
33- supports_typed_pointers (ctx:: Context ) = false
33+ supports_typed_pointers (ctx:: Context ) = true
3434end
3535
3636# # wrapper exception type
Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ Context() do ctx end
2727
2828@dispose ctx= Context () begin
2929 @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
3037end
3138
3239end
You can’t perform that action at this time.
0 commit comments