aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/pointer_method.cpp
blob: d499a7ef0997920d6212f18cd63f4cd2c283a7eb (plain)
1
2
3
4
5
6
7
8
struct B { int i(); int j(); };

void foo(int (B::*Fn)());

void test() {
	foo(&B::i);
	foo(&B::j);
}