summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC++
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-10 14:37:44 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-10 14:37:44 +0000
commitc62a5aaa1db2593c28a093c4c32445c3db7d902c (patch)
tree3db470dfa44c0bf0848bba8be09dfd49b8340f21 /llvm/test/FrontendC++
parent30a07a5504e4cf006112a00ad7c2c545363aa7d0 (diff)
downloadbcm5719-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++')
-rw-r--r--llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp b/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp
index b0ff7e75075..87ababc5f18 100644
--- a/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp
+++ b/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp
@@ -21,7 +21,7 @@ int test2(short F) {
}
// Make sure that normal unions work. duh :)
-volatile union {
+volatile union U_t {
short S;
int i;
} U;
OpenPOWER on IntegriCloud