diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-31 17:52:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-31 17:52:36 +0000 |
commit | 3fb21e5bb5a516e728f3a3765be690767cfa3fe9 (patch) | |
tree | 9dad40725c74489b0800141f83e945cb14a52d3f /test/CFrontend | |
parent | 8aaee324c969910c1d80a7a739a7fb2b6609cb9e (diff) | |
download | external_llvm-3fb21e5bb5a516e728f3a3765be690767cfa3fe9.zip external_llvm-3fb21e5bb5a516e728f3a3765be690767cfa3fe9.tar.gz external_llvm-3fb21e5bb5a516e728f3a3765be690767cfa3fe9.tar.bz2 |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2002-07-31-SubregFailure.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CFrontend/2002-07-31-SubregFailure.c b/test/CFrontend/2002-07-31-SubregFailure.c new file mode 100644 index 0000000..1ddac3c --- /dev/null +++ b/test/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); +} + + |