blob: 3ec3a797d4deee196b8364ecb19ee4be6dba292d [file] [log] [blame]
Dan Gohman1b4c27772009-09-08 16:50:01 +00001; RUN: opt %s -globalopt | llvm-dis | not grep internal
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00003@G = internal global i32 123 ; <i32*> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00005define void @foo() {
6 store i32 1, i32* @G
7 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008}
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00009