1// RUN: %clang_cc1 -emit-llvm-only -verify %s
2// PR7736
3
4template <class scriptmemberptr> int InitMember(scriptmemberptr);
5
6template <class>
7struct contentmap
8{
9  static void InitDataMap()
10  { InitMember(&contentmap::SizeHolder); }
11  int SizeHolder;
12};
13
14void ReadFrom( )
15{
16  contentmap<int>::InitDataMap();
17}
18
19