* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / obj-c++.dg / method-namespace-2.mm
blob3e1c9d123ba2a6570b5d7fb322945207e407c40e
1 /* Test that qualified type is resolved to its proper type. */
2 /* { dg-do compile } */
4 @interface  Object 
6         int I[100];
8 @end
10 namespace HC
13 struct Object
15     void test();
16 }; 
18 } // namespace HC
20 int main()
22     HC::Object* object;
23     object->test();     // Must compile with no error
24     return 0;