diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-03-22 08:37:05 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-03-22 08:37:05 +0000 |
| commit | 03b32dadee45eed9699ff6512bb5f7b3de4f2b98 (patch) | |
| tree | 6468c7945cdf0ade50e0efd5718ace12f841f192 /test | |
| parent | 96822817af6e7c60956abc9f6a35d55641b4ea80 (diff) | |
| download | external_llvm-03b32dadee45eed9699ff6512bb5f7b3de4f2b98.zip external_llvm-03b32dadee45eed9699ff6512bb5f7b3de4f2b98.tar.gz external_llvm-03b32dadee45eed9699ff6512bb5f7b3de4f2b98.tar.bz2 | |
Add testcase for prev. commit. Minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
| -rw-r--r-- | test/Verifier/aliasing-chain.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Verifier/aliasing-chain.ll b/test/Verifier/aliasing-chain.ll new file mode 100644 index 0000000..53b929b --- /dev/null +++ b/test/Verifier/aliasing-chain.ll @@ -0,0 +1,6 @@ +; RUN: not llvm-as -f %s -o /dev/null |& grep {Aliasing chain should end with function or global variable} + +; Test that alising chain does not create a cycle + +@b1 = alias i32* @c1 +@c1 = alias i32* @b1 |
