blob: 595eca5aab2deb971b8f4ffd1510dd32acf3b453 [file] [log] [blame]
// RUN: %clang_cc1 -emit-llvm-only -verify %s
// RUN: %clang_cc1 -triple x86_64-pc-windows-msvc -emit-llvm-only -verify %s
// expected-no-diagnostics
// PR7736
template <class scriptmemberptr> int InitMember(scriptmemberptr);
template <class>
struct contentmap
{
static void InitDataMap()
{ InitMember(&contentmap::SizeHolder); }
int SizeHolder;
};
void ReadFrom( )
{
contentmap<int>::InitDataMap();
}