repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
method-namespace-2.mm
blob
3e1c9d123ba2a6570b5d7fb322945207e407c40e
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
}