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