Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/obj-c++.dg/method-namespace-2.mm @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* 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; }