diff options
Diffstat (limited to 'test/CFrontend/2002-08-02-UnionTest.c')
-rw-r--r-- | test/CFrontend/2002-08-02-UnionTest.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CFrontend/2002-08-02-UnionTest.c b/test/CFrontend/2002-08-02-UnionTest.c index b9e2c2e050..bc44e461de 100644 --- a/test/CFrontend/2002-08-02-UnionTest.c +++ b/test/CFrontend/2002-08-02-UnionTest.c @@ -8,12 +8,12 @@ union X { char X; void *B; int a, b, c, d;}; union X foo() { - union X Global; - Global.B = (void*)123; /* Interesting part */ - return Global; + union X Global; + Global.B = (void*)123; /* Interesting part */ + return Global; } void main() { - union X test = foo(); - printf("0x%p", test.B); + union X test = foo(); + printf("0x%p", test.B); } |