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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [objc.dg/] [const-str-1.m] - Blame information for rev 324

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 309 jeremybenn
/* Test errors for constant strings.  */
2
/* { dg-do compile } */
3
 
4
#ifdef __cplusplus
5
extern void baz(...);
6
#endif
7
 
8
void foo()
9
{
10
  baz(@"hiya");  /* { dg-error "annot find interface declaration" } */
11
}
12
 
13
@interface NXConstantString
14
{
15
  void *isa;
16
  char *str;
17
  int len;
18
}
19
@end
20
 
21
void bar()
22
{
23
  baz(@"howdah");
24
}

powered by: WebSVN 2.1.0

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