Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / overload10.C
blobcdb0d3e22ff5c9606925edd85b4ca1358d50357d
1 // { dg-do run  }
2 struct B {
3   int f(int) { return 1; }
4 };
6 struct D {
7   template <class T>
8   int f(T) { return 0; }
9 };
11 int main()
13   int (D::*g)(int) = &D::f;
14   
15   D d;
16   return (d.*g)(0);