blob: 121793724d72787523bcf2b2ab50b062ddeb4da0 [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"
Duncan P. N. Exon Smithb80de102014-05-07 22:57:20 +00004@in_custom_section = dllexport alias internal 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"