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);
}