repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload2.C
blob
e53df3e35b1247277a13c7b60d6076261b46ae1c
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
}