OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/template/friend19.C: Fix typo.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload2.C
1
// { dg-do assemble }
2
template<class T>
3
class C
4
{
5
public:
6
C<T*> O();
7
C<T*> O() const;
8
};
9
10
11
int
12
main()
13
{
14
C<char*> c;
15
char* p = Z(c.O); //{ dg-error "" } ambiguous c.O
16
}