diff options
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); +} + + |