blob: 701e5a28aeb4e531739e840e5184752a65f9b0a2 [file] [log] [blame]
// { dg-do assemble }
// Bug: g++ doesn't figure out what to do.
struct A {
operator char *();
};
char foo(A a)
{
char c = a[0]; // { dg-bogus "" }
return c;
}