LLVM CODE GEN FAILED FOR PROCEDURE: src.main
define internal void @src.main(i8* noalias nocapture nonnull
%__.context_ptr) {
decls:
%0 = alloca { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, align 8
%1 = alloca %runtime.Source_Code_Location, align 8
%2 = alloca { { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, i8 }, align 8
%3 = alloca %src.Test_Vertex*, align 8
br label %entry
entry: ; preds = %decls
%4 = bitcast i8* %__.context_ptr to %runtime.Context*
%5 = getelementptr inbounds %runtime.Context, %runtime.Context* %4, i32 0, i32 0
%6 = load %runtime.Allocator, %runtime.Allocator* %5, align 8
%7 = bitcast %runtime.Allocator* %5 to { i64, i64 }*
store %runtime.Source_Code_Location { %..string { i8* getelementptr inbounds ([55 x
i8], [55 x
i8]* @"csbs$142", i64 0, i64 0), i64 54 }, i32 85, i32 14, %..string { i8* getelementptr inbounds ([5 x
i8], [5 x
i8]* @"csbs$143", i64 0, i64 0), i64 4 } }, %runtime.Source_Code_Location* %1, align 8
%9 = bitcast { { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, i8 }* %2 to i8*
%10 = bitcast %runtime.Context* %4 to i8*
call void @runtime.make_dynamic_array_len_cap-50127({ { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, i8 }* sret %2, i64 0, i64 32, { i64, i64 } %8, %runtime.Source_Code_Location* %1, i8* %10)
%11 = load { { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, i8 }, { { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, i8 }* %2, align 8
%12 = getelementptr inbounds { { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, i8 }, { { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, i8 }* %2, i32 0, i32 0
%13 = load { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, { %src.Test_Vertex*, i64, i64, %runtime.Allocator }* %12, align 8
store { %src.Test_Vertex*, i64, i64, %runtime.Allocator } %13, { %src.Test_Vertex*, i64, i64, %runtime.Allocator }* %0, align 8
%14 = load { %src.Test_Vertex*, i64, i64, %runtime.Allocator }, { %src.Test_Vertex*, i64, i64, %runtime.Allocator }* %0, align 8
%16 = getelementptr %src.Test_Vertex*, %src.Test_Vertex* %15, i64 10
store %src.Test_Vertex** %16, %src.Test_Vertex** %3, align 8
ret void
}
Stored value type does not match pointer operand type!
store %src.Test_Vertex** %16, %src.Test_Vertex** %3, align 8
%src.Test_Vertex*make: