summaryrefslogtreecommitdiff
path: root/test/Analysis
diff options
context:
space:
mode:
authorCarl Norum <carl.norum@apple.com>2011-03-07 22:57:45 +0000
committerCarl Norum <carl.norum@apple.com>2011-03-07 22:57:45 +0000
commite224ba7e3e604113aa160c379293bcb6425e8f36 (patch)
tree7c84aa82923325d68202cfde7e8ea6f32c7ce4be /test/Analysis
parent0507be662df482b5c67b7905ed7ca368cb5c6b69 (diff)
downloadclang-e224ba7e3e604113aa160c379293bcb6425e8f36.tar.gz
Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/string.c b/test/Analysis/string.c
index 94bc851f22..33d409b847 100644
--- a/test/Analysis/string.c
+++ b/test/Analysis/string.c
@@ -68,7 +68,7 @@ label:
}
void strlen_subregion() {
- struct two_strings { char a[2], b[2] };
+ struct two_strings { char a[2], b[2]; };
extern void use_two_strings(struct two_strings *);
struct two_strings z;
@@ -200,7 +200,7 @@ label:
}
void strnlen_subregion() {
- struct two_stringsn { char a[2], b[2] };
+ struct two_stringsn { char a[2], b[2]; };
extern void use_two_stringsn(struct two_stringsn *);
struct two_stringsn z;