Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
operators7.C
blob: 8ceaf3efac00f3594882f9e28579dbb6951d7276 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed operators
class
A
{
char
*
p
;
public
:
operator
const
char
*()
const
{
return
p
;
}
};
int
foo
(
const
A
&
a
)
{
return
(
a
!=
0
);
}