From 2c2b06e1f349b1e66da11aa081e9564064078db7 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 14 Aug 2009 20:53:10 +0000 Subject: [PATCH] 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 --- test/SemaObjC/attr-malloc.m | 2 -- 1 file changed, 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 - @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}} -- 2.50.1