From: Ted Kremenek Date: Fri, 14 Aug 2009 20:53:10 +0000 (+0000) Subject: This test case does not need to include 'stdlib.h'. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c2b06e1f349b1e66da11aa081e9564064078db7;p=clang This test case does not need to include 'stdlib.h'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79042 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaObjC/attr-malloc.m b/test/SemaObjC/attr-malloc.m index 14cf5ff5e2..a1a5df96eb 100644 --- a/test/SemaObjC/attr-malloc.m +++ b/test/SemaObjC/attr-malloc.m @@ -1,7 +1,5 @@ // RUN: clang-cc -verify -fsyntax-only -fblocks %s -#include - @interface TestAttrMallocOnMethods {} - (id) test1 __attribute((malloc)); // expected-warning{{'malloc' attribute only applies to function types}} - (int) test2 __attribute((malloc)); // expected-warning{{'malloc' attribute only applies to function types}}