aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2002-07-30-SubregSetAssertion.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFrontend/2002-07-30-SubregSetAssertion.c')
-rw-r--r--test/CFrontend/2002-07-30-SubregSetAssertion.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/CFrontend/2002-07-30-SubregSetAssertion.c b/test/CFrontend/2002-07-30-SubregSetAssertion.c
index 5316e74..20314bf 100644
--- a/test/CFrontend/2002-07-30-SubregSetAssertion.c
+++ b/test/CFrontend/2002-07-30-SubregSetAssertion.c
@@ -1,13 +1,9 @@
union X {
- //char C;
- //int A;
void *B;
};
-union X foo(union X A) {
- //A.C = 123;
- //A.A = 39249;
- A.B = (void*)123040123321;
- return A;
+union X void foo() {
+ union X A;
+ A.B = (void*)123
}