blob: acf858adf9354e0917d2f025f9329db65b9e49b8 (
plain)
1
2
3
4
5
6
7
8
|
// Build don't link:
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]; }
|