New testcase
authorChris Lattner <sabre@nondot.org>
Wed, 31 Jul 2002 17:52:36 +0000 (17:52 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Jul 2002 17:52:36 +0000 (17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3181 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2002-07-31-SubregFailure.c [new file with mode: 0644]

diff --git a/test/CFrontend/2002-07-31-SubregFailure.c b/test/CFrontend/2002-07-31-SubregFailure.c
new file mode 100644 (file)
index 0000000..1ddac3c
--- /dev/null
@@ -0,0 +1,12 @@
+
+typedef union {
+   long (*ap)[4];
+} ptrs;
+
+void DoAssignIteration() {
+  ptrs abase;
+  abase.ap+=27;
+  Assignment(*abase.ap);
+}
+
+