blob: 86fa477266b10433f3efd72d7b172c68e2f104d9 [file] [log] [blame]
struct A
{
int foo () const { return 0; }
};
template <typename> void bar (int x[], const A &a)
{
const int i=a.foo();
x[i]=0;
}