]> granicus.if.org Git - clang/commitdiff
This test case does not need to include 'stdlib.h'.
authorTed Kremenek <kremenek@apple.com>
Fri, 14 Aug 2009 20:53:10 +0000 (20:53 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 14 Aug 2009 20:53:10 +0000 (20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79042 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaObjC/attr-malloc.m

index 14cf5ff5e27859e11ddd383e850484a500e430c2..a1a5df96eb163521cbef3441603d3bda1336d110 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: clang-cc -verify -fsyntax-only -fblocks %s
 
-#include <stdlib.h>
-
 @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}}