blob: 41bb5e29d58c35dd559e22c6a3d5fa3f4d66e8c5 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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();
}
|