blob: 8c33020c79d65367f509b2146be5bd1601a1bb5c [file] [log] [blame]
/* { dg-options "-Wall -funit-at-a-time -fgnu-runtime" } */
/* { dg-do compile } */
/* APPLE LOCAL objc2 */
/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */
/* PR objc/27438, make sure that the decl produced by the front-end
does not cause a warning to be produced. */
@interface NXConstantString
{
void *isa;
const char * const nxcsptr;
const unsigned int nxcslen;
}
@end
NXConstantString *a = @"NSInconsistentArchiveException"; /* { dg-bogus "defined but not used" } */