aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-08-14 20:53:10 +0000
committerTed Kremenek <kremenek@apple.com>2009-08-14 20:53:10 +0000
commit2c2b06e1f349b1e66da11aa081e9564064078db7 (patch)
treea23fea1c9a32aa99f70719726507f6e8609beae3
parentf1858598d2dea36991df88bb32a795797ea1c316 (diff)
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
-rw-r--r--test/SemaObjC/attr-malloc.m2
1 files changed, 0 insertions, 2 deletions
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 <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}}