2009-09-12 02:01:28 +08:00
|
|
|
; RUN: opt < %s -globalopt -S | not grep internal
|
2004-10-08 03:16:26 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
@G = internal global i32 123 ; <i32*> [#uses=1]
|
2004-10-08 03:16:26 +08:00
|
|
|
|
2008-03-01 17:15:35 +08:00
|
|
|
define void @foo() {
|
|
|
|
store i32 1, i32* @G
|
|
|
|
ret void
|
2004-10-08 03:16:26 +08:00
|
|
|
}
|
2008-03-01 17:15:35 +08:00
|
|
|
|