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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [naming-3.mm] - Blame information for rev 720

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

Line No. Rev Author Line
1 703 jeremybenn
/* Testing for detecting duplicate ivars. */
2
/* { dg-do compile } */
3
 
4
@interface A
5
{
6
  char x; /* { dg-message "previous declaration" } */
7
  char x;
8
} /* { dg-error "redeclaration" } */
9
@end
10
 
11
@interface B : A
12
{
13
  char y;
14
}
15
@end

powered by: WebSVN 2.1.0

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