It's not necessary to do rounding for alloca operations when the requested
alignment is equal to the stack alignment.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40004 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Verifier/2002-11-05-GetelementptrPointers.ll b/test/Verifier/2002-11-05-GetelementptrPointers.ll
new file mode 100644
index 0000000..d1e5169
--- /dev/null
+++ b/test/Verifier/2002-11-05-GetelementptrPointers.ll
@@ -0,0 +1,9 @@
+; RUN: not llvm-as -f %s -o /dev/null
+
+; 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, uint 1, long 0
+	ret void
+}