OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc.dg/] [const-str-12.m] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.