X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCFrontend%2F2002-08-02-UnionTest.c;h=bc44e461dec5119b7be84159c2bb0b19a095895f;hb=3e54953c5f7fa30476458ee742dbb3de44a64bea;hp=b9e2c2e0506f974e432af3b29152c664ed81d740;hpb=e9af5d186bdf1620e3f0b74ecc7e49c25b82d186;p=oota-llvm.git diff --git a/test/CFrontend/2002-08-02-UnionTest.c b/test/CFrontend/2002-08-02-UnionTest.c index b9e2c2e0506..bc44e461dec 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); }