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