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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [naming-3.m] - Blame information for rev 704

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* Test for class name same as an unrelated struct field name. */
2
/* { dg-do compile } */
3
@interface PassThrough {
4
 
5
}
6
@end
7
 
8
struct S {
9
        int (*PassThrough)();
10
};
11
 
12
int main()
13
{
14
        PassThrough* pt;
15
        struct S s;
16
        s.PassThrough();
17
}

powered by: WebSVN 2.1.0

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