]>
Commit | Line | Data |
---|---|---|
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 | ||
10 | namespace HC | |
11 | { | |
12 | ||
13 | struct Object | |
14 | { | |
15 | void test(); | |
16 | }; | |
17 | ||
18 | } // namespace HC | |
19 | ||
20 | int main() | |
21 | { | |
22 | HC::Object* object; | |
23 | object->test(); // Must compile with no error | |
24 | return 0; | |
25 | } |