diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-09 20:43:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-09 20:43:19 +0000 |
commit | e030358cc06e1cbce3c2e00ca67c946f9164b2a8 (patch) | |
tree | 8a51ca98fa0b359fefb724103d5ca6d40c479c36 /test/Sema/implicit-builtin-decl.c | |
parent | 7960ec30d794da5de6cd017c728e1151f7b101b9 (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-builtin-decl.c')
-rw-r--r-- | test/Sema/implicit-builtin-decl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Sema/implicit-builtin-decl.c b/test/Sema/implicit-builtin-decl.c index 09ecd23ca1..3d920389a2 100644 --- a/test/Sema/implicit-builtin-decl.c +++ b/test/Sema/implicit-builtin-decl.c @@ -22,7 +22,8 @@ void h() { } void f2() { - fprintf(0, "foo"); // expected-error{{implicit declaration of 'fprintf' requires inclusion of the header <stdio.h>}} + fprintf(0, "foo"); // expected-error{{implicit declaration of 'fprintf' requires inclusion of the header <stdio.h>}} \ + expected-warning {{implicit declaration of function 'fprintf' is invalid in C99}} } // PR2892 |