diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 14:37:44 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 14:37:44 +0000 |
commit | c62a5aaa1db2593c28a093c4c32445c3db7d902c (patch) | |
tree | 3db470dfa44c0bf0848bba8be09dfd49b8340f21 /llvm/test/FrontendC/2002-08-02-UnionTest.c | |
parent | 30a07a5504e4cf006112a00ad7c2c545363aa7d0 (diff) | |
download | bcm5719-llvm-c62a5aaa1db2593c28a093c4c32445c3db7d902c.tar.gz bcm5719-llvm-c62a5aaa1db2593c28a093c4c32445c3db7d902c.zip |
Fix some llvm-gcc warnings in testcases, mostly by adding includes or adding
declarations. These are the fixes that I was pretty confident about, there are
still a lot of other llvm-gcc warnings of which I'm not sure if they can be
safely ignored or fixed, without breaking the test case.
This fixes 11 testcases.
llvm-svn: 52176
Diffstat (limited to 'llvm/test/FrontendC/2002-08-02-UnionTest.c')
-rw-r--r-- | llvm/test/FrontendC/2002-08-02-UnionTest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/FrontendC/2002-08-02-UnionTest.c b/llvm/test/FrontendC/2002-08-02-UnionTest.c index bc44e461dec..e0862ed10cf 100644 --- a/llvm/test/FrontendC/2002-08-02-UnionTest.c +++ b/llvm/test/FrontendC/2002-08-02-UnionTest.c @@ -13,7 +13,7 @@ union X foo() { return Global; } -void main() { +int main() { union X test = foo(); printf("0x%p", test.B); } |