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] - Rev 704

Compare with Previous | Blame | View Log

/* Test for class name same as an unrelated struct field name. */
/* { dg-do compile } */
@interface PassThrough {
 
}
@end
 
struct S {
	int (*PassThrough)();
};
 
int main()
{
	PassThrough* pt;
	struct S s;
	s.PassThrough();
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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