Home | History | Annotate | Download | only in temp.explicit
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 char* p = 0;
      4 template<class T> T g(T x = &p) { return x; }
      5 template int g<int>(int);	// OK even though &p isn't an int.
      6 
      7