Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload36.C
blob: 324d766eaaf196a1d92e4575e103e51f6afe5242 [
file
] [
log
] [
blame
]
// { dg-do run }
// Test for subsequence checking in overload resolution.
class
foo
{
public
:
void
operator
<<(
char
*)
{
}
void
operator
<<(
const
char
*
const
&);
};
int
main
()
{
char
s
[
20
];
foo f
;
f
<<
s
;
}