Home | History | Annotate | Download | only in GlobalDCE
      1 ; RUN: opt < %s -globaldce
      2 ;
      3 
      4 @X = global void ()* @func              ; <void ()**> [#uses=0]
      5 
      6 ; Not dead, can be reachable via X
      7 define internal void @func() {
      8         ret void
      9 }
     10 
     11 define void @main() {
     12         ret void
     13 }
     14