diff options
-rw-r--r-- | test/SemaObjC/attr-malloc.m | 2 |
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}} |