summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll
blob: 4a6028fda43cd050cb798e99c12866186e135ea6 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | grep WARNING

%X = external global int
%Z = global int* %X

%X = global float 1.0
%Y = global float* %X

implementation