blob: 08f033837232ca0b566395050cc8076952391778 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; Make sure that the ds-opt pass is constantizing globals
;
; RUN: as < %s | opt -ds-opt | dis | grep %G | grep constant
%G = internal global int 0 ; <int*> [#uses=2]
implementation ; Functions:
int %main() {
%A = load int* %G
ret int %A
}
|