aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/implicit-decl.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-09 20:43:19 +0000
committerChris Lattner <sabre@nondot.org>2010-01-09 20:43:19 +0000
commite030358cc06e1cbce3c2e00ca67c946f9164b2a8 (patch)
tree8a51ca98fa0b359fefb724103d5ca6d40c479c36 /test/Sema/implicit-decl.c
parent7960ec30d794da5de6cd017c728e1151f7b101b9 (diff)
add a bunch of missing prototypes to tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/implicit-decl.c')
-rw-r--r--test/Sema/implicit-decl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Sema/implicit-decl.c b/test/Sema/implicit-decl.c
index fc48895f4e..830cde9b9f 100644
--- a/test/Sema/implicit-decl.c
+++ b/test/Sema/implicit-decl.c
@@ -7,7 +7,8 @@ void func() {
int32_t *vector[16];
const char compDesc[16 + 1];
int32_t compCount = 0;
- if (_CFCalendarDecomposeAbsoluteTimeV(compDesc, vector, compCount)) { // expected-note {{previous implicit declaration is here}}
+ if (_CFCalendarDecomposeAbsoluteTimeV(compDesc, vector, compCount)) { // expected-note {{previous implicit declaration is here}} \
+ expected-warning {{implicit declaration of function '_CFCalendarDecomposeAbsoluteTimeV' is invalid in C99}}
}
return ((void *)0); // expected-warning {{void function 'func' should not return a value}}
}