From 93ca4e50d97e7ae3ec39a29426da03383f549f3e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 31 Jul 2002 17:52:36 +0000 Subject: [PATCH] New testcase llvm-svn: 3181 --- .../Regression/CFrontend/2002-07-31-SubregFailure.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 llvm/test/Regression/CFrontend/2002-07-31-SubregFailure.c diff --git a/llvm/test/Regression/CFrontend/2002-07-31-SubregFailure.c b/llvm/test/Regression/CFrontend/2002-07-31-SubregFailure.c new file mode 100644 index 000000000000..1ddac3c7d08c --- /dev/null +++ b/llvm/test/Regression/CFrontend/2002-07-31-SubregFailure.c @@ -0,0 +1,12 @@ + +typedef union { + long (*ap)[4]; +} ptrs; + +void DoAssignIteration() { + ptrs abase; + abase.ap+=27; + Assignment(*abase.ap); +} + +