2014-02-13 10:18:36 +08:00
|
|
|
; RUN: opt -S -globalopt < %s | FileCheck %s
|
|
|
|
|
|
|
|
@_Z17in_custom_section = internal global i8 42, section "CUSTOM"
|
2014-05-08 06:57:20 +08:00
|
|
|
@in_custom_section = dllexport alias internal i8* @_Z17in_custom_section
|
2014-02-13 10:18:36 +08:00
|
|
|
|
2014-05-08 06:57:20 +08:00
|
|
|
; CHECK: @in_custom_section = internal dllexport global i8 42, section "CUSTOM"
|
2014-02-13 10:18:36 +08:00
|
|
|
|
|
|
|
@llvm.used = appending global [1 x i8*] [i8* @in_custom_section], section "llvm.metadata"
|