]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/obj-c++.dg/method-namespace-2.mm
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / obj-c++.dg / method-namespace-2.mm
CommitLineData
131376b3
NP
1/* Test that qualified type is resolved to its proper type. */
2/* { dg-do compile } */
3
4@interface Object
5{
6 int I[100];
7}
8@end
9
10namespace HC
11{
12
13struct Object
14{
15 void test();
16};
17
18} // namespace HC
19
20int main()
21{
22 HC::Object* object;
23 object->test(); // Must compile with no error
24 return 0;
25}
This page took 5.695961 seconds and 5 git commands to generate.