aboutsummaryrefslogtreecommitdiffstats
path: root/test/BugPoint/misopt-basictest.ll
blob: 76363dfb1f631167cacf6a62a352adb180a9ba32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: PATH=/usr/bin:/bin/:${PATH}
; RUN: export PATH
; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg

%.LC0 = internal global [13 x sbyte] c"Hello World\0A\00"

implementation

declare int %printf(sbyte*, ...)

int %main() {
        call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) )
        ret int 0
}