diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-31 17:54:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-31 17:54:24 +0000 |
commit | e540dda5362d8338d456b92f34b7cf4bb92c582d (patch) | |
tree | bad28978b435609221e4ca8afd79bf466b3eed3a /test | |
parent | 3fb21e5bb5a516e728f3a3765be690767cfa3fe9 (diff) | |
download | external_llvm-e540dda5362d8338d456b92f34b7cf4bb92c582d.zip external_llvm-e540dda5362d8338d456b92f34b7cf4bb92c582d.tar.gz external_llvm-e540dda5362d8338d456b92f34b7cf4bb92c582d.tar.bz2 |
Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CFrontend/2002-07-30-SubregSetAssertion.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |