diff options
Diffstat (limited to 'test/CFrontend/2002-07-30-SubregSetAssertion.c')
-rw-r--r-- | test/CFrontend/2002-07-30-SubregSetAssertion.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CFrontend/2002-07-30-SubregSetAssertion.c b/test/CFrontend/2002-07-30-SubregSetAssertion.c index 20314bf..e00a3ce 100644 --- a/test/CFrontend/2002-07-30-SubregSetAssertion.c +++ b/test/CFrontend/2002-07-30-SubregSetAssertion.c @@ -3,7 +3,8 @@ union X { void *B; }; -union X void foo() { +union X foo() { union X A; - A.B = (void*)123 + A.B = (void*)123; + return A; } |