llvm-project/llvm/test/Transforms/GlobalOpt/deaddeclaration.ll

8 lines
130 B
LLVM

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