Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
}