mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +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