aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/t34.C
blob: db591ea7d0e83ef5d8239543d761957a08dd5567 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }

template <class X> struct A { int operator [] (int); };
template <class Y> int A<Y>::operator[] (int j) { return j * j; }

extern A<void **> avpp;

int q () { return avpp[99]; }