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