Patch by John Thompson.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83593
91177308-0d34-0410-b5e6-
96231b3b80d8
// RUN: not grep 'ssp' %t &&
// RUN: true
-#include <stdio.h>
-#include <string.h>
+int printf(const char * _Format, ...);
void test1(const char *msg) {
char a[strlen(msg) + 1];
// CHECK: private constant [11 x i8] c"staticFunc\00"
// CHECK: private constant [28 x i8] c"void NS::Base::staticFunc()\00"
-#include <stdio.h>
+int printf(const char * _Format, ...);
namespace NS {
// CHECK: @"__func__.-[Foo(Category) instanceTestWithCategory]" = private constant [42 x i8] c"-[Foo(Category) instanceTestWithCategory]\00"
// CHECK: @"__func__.+[Foo(Category) classTestWithCategory]" = private constant [39 x i8] c"+[Foo(Category) classTestWithCategory]\00"
-#include <stdio.h>
+int printf(const char * _Format, ...);
@interface Foo
@end