OSDN Git Service

* gcc.target/powerpc/ppc-spe64-1.c: Add dg-error handler.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / const-str-12.m
1 /* { dg-options "-Wall -funit-at-a-time -fgnu-runtime" } */
2 /* { dg-do compile }  */
3 /* PR objc/27438, make sure that the decl produced by the front-end
4    does not cause a warning to be produced. */
5
6 @interface NXConstantString
7 {
8   void *isa;
9   const char * const nxcsptr;
10   const unsigned int nxcslen;
11 }
12 @end
13 NXConstantString *a =   @"NSInconsistentArchiveException"; /* { dg-bogus "defined but not used" } */
14
15