diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-06 00:52:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-06 00:52:21 +0000 |
commit | 5051e9cb2321463111d05412449dd8db0dbb08fa (patch) | |
tree | 233fb0f008b74fff3c9571025b5d8590a2c1075c | |
parent | c227a9a5132b258de05aeabe8f04bff85f94457c (diff) | |
download | external_llvm-5051e9cb2321463111d05412449dd8db0dbb08fa.zip external_llvm-5051e9cb2321463111d05412449dd8db0dbb08fa.tar.gz external_llvm-5051e9cb2321463111d05412449dd8db0dbb08fa.tar.bz2 |
New testcase to handle eventually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4558 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Verifier/2002-11-05-GetelementptrPointers.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Verifier/2002-11-05-GetelementptrPointers.ll b/test/Verifier/2002-11-05-GetelementptrPointers.ll new file mode 100644 index 0000000..067623c --- /dev/null +++ b/test/Verifier/2002-11-05-GetelementptrPointers.ll @@ -0,0 +1,7 @@ +; This testcase is invalid because we are indexing into a pointer that is +; contained WITHIN a structure. + +void %test({int, int*} * %X) { + getelementptr {int, int*} * %X, long 0, ubyte 1, long 0 + ret void +} |