diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll b/test/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll new file mode 100644 index 0000000000..4a6028fda4 --- /dev/null +++ b/test/Transforms/FunctionResolve/2003-10-21-GlobalTypeDifference.ll @@ -0,0 +1,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 + |