diff options
Diffstat (limited to 'llvm/test/Regression/CFrontend/2002-08-02-UnionTest.c')
-rw-r--r-- | llvm/test/Regression/CFrontend/2002-08-02-UnionTest.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Regression/CFrontend/2002-08-02-UnionTest.c b/llvm/test/Regression/CFrontend/2002-08-02-UnionTest.c index b9e2c2e0506..bc44e461dec 100644 --- a/llvm/test/Regression/CFrontend/2002-08-02-UnionTest.c +++ b/llvm/test/Regression/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); } |