From e540dda5362d8338d456b92f34b7cf4bb92c582d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 31 Jul 2002 17:54:24 +0000 Subject: Fix testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3182 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2002-07-30-SubregSetAssertion.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/CFrontend') diff --git a/test/CFrontend/2002-07-30-SubregSetAssertion.c b/test/CFrontend/2002-07-30-SubregSetAssertion.c index 20314bf..e00a3ce 100644 --- a/test/CFrontend/2002-07-30-SubregSetAssertion.c +++ b/test/CFrontend/2002-07-30-SubregSetAssertion.c @@ -3,7 +3,8 @@ union X { void *B; }; -union X void foo() { +union X foo() { union X A; - A.B = (void*)123 + A.B = (void*)123; + return A; } -- cgit v1.1