URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [method-namespace-2.mm] - Rev 703
Compare with Previous | Blame | View Log
/* Test that qualified type is resolved to its proper type. */
/* { dg-do compile } */
@interface Object
{
int I[100];
}
@end
namespace HC
{
struct Object
{
void test();
};
} // namespace HC
int main()
{
HC::Object* object;
object->test(); // Must compile with no error
return 0;
}