From 199f82ce4b34d2defe68a67e95793099d63519cb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Jul 2002 06:07:16 +0000 Subject: [PATCH] Simplify testcase a bit llvm-svn: 3150 --- .../CFrontend/2002-07-30-SubregSetAssertion.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/test/Regression/CFrontend/2002-07-30-SubregSetAssertion.c b/test/Regression/CFrontend/2002-07-30-SubregSetAssertion.c index 5316e74876b..20314bfdfa7 100644 --- a/test/Regression/CFrontend/2002-07-30-SubregSetAssertion.c +++ b/test/Regression/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 }