1 ; RUN: %lli -jit-kind=mcjit %s > /dev/null
2 ; RUN: %lli %s > /dev/null
4 @var = global i32 1, align 4
5 @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @ctor_func, i8* null }]
6 @llvm.global_dtors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @dtor_func, i8* null }]
8 define i32 @main() nounwind {
10 %0 = load i32, i32* @var, align 4
14 define internal void @ctor_func() section ".text.startup" {
16 store i32 0, i32* @var, align 4
20 define internal void @dtor_func() section ".text.startup" {