aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/const-str-12.m
blob: 95a6bef3241d1a5ee1f481f93347798914cb444b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-options "-Wall -funit-at-a-time -fgnu-runtime" } */
/* { dg-do compile }  */
/* 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" } */