1 ; RUN: if as < %s | opt -funcresolve -disable-output 2>&1 | grep WARNING
5 %__popcount_tab = external constant [0 x ubyte]
6 %__popcount_tab = constant [4 x ubyte] c"\00\01\01\02"
8 declare void %foo(ubyte *)
11 getelementptr [0 x ubyte]* %__popcount_tab, long 0, long 2
12 getelementptr [4 x ubyte]* %__popcount_tab, long 0, long 2
13 call void %foo(ubyte * getelementptr ([0 x ubyte]* %__popcount_tab, long 0, long 2))