1 ; RUN: opt -S < %s -globalopt | FileCheck %s
3 ; Static evaluation across a @llvm.sideeffect.
7 declare void @llvm.sideeffect()
9 @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [ { i32, void ()*, i8* } { i32 65535, void ()* @ctor, i8* null } ]
12 define internal void @ctor() {
14 call void @llvm.sideeffect()