Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload2.C
blob: bbc9e51aff6ae4c5891928725c0334ef7b1865db [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
>
class
C
{
public
:
C
<
T
*>
O
();
C
<
T
*>
O
()
const
;
};
int
main
()
{
C
<
char
*>
c
;
char
*
p
=
Z
(
c
.
O
);
//{ dg-error "29:'Z' was not declared" } ambiguous c.O
}