blob: a3657dfd16bcdedb522042ed95125c1f7cdb08de [file] [log] [blame]
Reid Kleckner22b19da2014-02-13 02:18:36 +00001; RUN: opt -S -globalopt < %s | FileCheck %s
2
3@_Z17in_custom_section = internal global i8 42, section "CUSTOM"
David Blaikie2f408302015-09-11 03:22:04 +00004@in_custom_section = internal dllexport alias i8, i8* @_Z17in_custom_section
Reid Kleckner22b19da2014-02-13 02:18:36 +00005
Duncan P. N. Exon Smithb80de102014-05-07 22:57:20 +00006; CHECK: @in_custom_section = internal dllexport global i8 42, section "CUSTOM"
Reid Kleckner22b19da2014-02-13 02:18:36 +00007
8@llvm.used = appending global [1 x i8*] [i8* @in_custom_section], section "llvm.metadata"