aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/obj-c++.dg/property/dynamic-6.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/obj-c++.dg/property/dynamic-6.mm')
-rw-r--r--gcc-4.8.1/gcc/testsuite/obj-c++.dg/property/dynamic-6.mm26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/property/dynamic-6.mm b/gcc-4.8.1/gcc/testsuite/obj-c++.dg/property/dynamic-6.mm
deleted file mode 100644
index 23a7a8905..000000000
--- a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/property/dynamic-6.mm
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, November 2010. */
-/* { dg-do compile } */
-
-/* Test case when an accessor from a @property matches a method
- required by a protocol. If the @property is @dynamic, then no
- warning should be generated. */
-
-#include <objc/objc.h>
-#include <objc/runtime.h>
-#include <stdlib.h>
-
-@protocol Count
-- (int) count;
-@end
-
-@interface MyRootClass <Count>
-{
- Class isa;
-}
-@property int count;
-@end
-
-@implementation MyRootClass
-/* This @dynamic turns off any warnings for -count and -setCount:. */
-@dynamic count;
-@end