blob: 701a119ba13e82c9fd9f64231d537f2173901dfa [file] [log] [blame]
// PR c++/34049
struct foo
{
int operator[](int) const { return 0; }
};
int main()
{
(foo()[0]);
return 0;
}