3d1dcd9bfd
http://llvm.org/svn/llvm-project/cfe/branches/release_28@114020 Approved by: rpaulo (mentor)
19 lines
311 B
C++
19 lines
311 B
C++
// RUN: %clang_cc1 -emit-llvm-only -verify %s
|
|
// PR7736
|
|
|
|
template <class scriptmemberptr> int InitMember(scriptmemberptr);
|
|
|
|
template <class>
|
|
struct contentmap
|
|
{
|
|
static void InitDataMap()
|
|
{ InitMember(&contentmap::SizeHolder); }
|
|
int SizeHolder;
|
|
};
|
|
|
|
void ReadFrom( )
|
|
{
|
|
contentmap<int>::InitDataMap();
|
|
}
|
|
|