summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/security-syntax-checks.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/security-syntax-checks.m')
-rw-r--r--clang/test/Analysis/security-syntax-checks.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/security-syntax-checks.m b/clang/test/Analysis/security-syntax-checks.m
index a04401b531f..6fb5b3cf14e 100644
--- a/clang/test/Analysis/security-syntax-checks.m
+++ b/clang/test/Analysis/security-syntax-checks.m
@@ -170,7 +170,7 @@ void test_strcat() {
//===----------------------------------------------------------------------===
typedef int __int32_t;
typedef __int32_t pid_t;
-pid_t vfork(void);
+pid_t vfork(void); //expected-warning{{declaration of built-in function 'vfork' requires inclusion of the header <setjmp.h>}}
void test_vfork() {
vfork(); //expected-warning{{Call to function 'vfork' is insecure as it can lead to denial of service situations in the parent process.}}
OpenPOWER on IntegriCloud