mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
Add test for handling ptrmem_cst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6163 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4c10acae4d
commit
6736dce150
8
test/C++Frontend/pointer_method.cpp
Normal file
8
test/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…
x
Reference in New Issue
Block a user