llvm-for-llvmta/test/Transforms/GlobalOpt/deaddeclaration.ll

8 lines
123 B
LLVM

; RUN: opt < %s -globalopt -S | FileCheck %s
; CHECK-NOT: aa
; CHECK-NOT: bb
declare void @aa()
@bb = external global i8