mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Add test for handling ptrmem_cst
llvm-svn: 6163
This commit is contained in:
parent
04ee063ac7
commit
2054529c90
8
test/Regression/C++Frontend/pointer_method.cpp
Normal file
8
test/Regression/C++Frontend/pointer_method.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
struct B { int i(); int j(); };
|
||||
|
||||
void foo(int (B::*Fn)());
|
||||
|
||||
void test() {
|
||||
foo(&B::i);
|
||||
foo(&B::j);
|
||||
}
|
Loading…
Reference in New Issue
Block a user