4 // Test of two-stage name lookup.
6 int g(double) { return 0; }
8 template <class T> struct X
10 int f() { return g(2); } // should call g(double)
13 inline int g(int) { return 1; }
17 return X<int>().f(); // should call g(double), but used to call g(int)