blob: 3b7c8c384812536d2fd5b6ddd54d717289d9d51d [file] [log] [blame]
/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, December 2010. */
/* { dg-do compile } */
/* { dg-additional-options "-Wno-objc-root-class" } */
/* Test that you get a warning when an unknown class attribute is ignored. */
#include <objc/objc.h>
__attribute__ ((unknown_attribute))
@interface MyClass /* { dg-warning "ignored" } */
{
Class isa;
}
+ (id) new;
@end