summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/strings/const-str-12.m
blob: 93059018647c15c9d17732e4e46b212589086eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-options "-Wall -funit-at-a-time" } */
/* { dg-do compile }  */
/* PR objc/27438, make sure that the decl produced by the front-end
   does not cause a warning to be produced. */
/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */

@interface NXConstantString
{
  void *isa;
  const char * const nxcsptr;
  const unsigned int nxcslen;
}
@end
NXConstantString *a =   @"NSInconsistentArchiveException"; /* { dg-bogus "defined but not used" } */