Add runfile to check for correct compatibility name generation
Checks that if OldClass was renamed to NewClass, then not only OldClass.static_method is now NewClass.static_method, but also compatibility name OldClass_static_method is now NewClass_static_method. Same for enums, static vars etc
This commit is contained in:
parent
14de0de5e7
commit
8b35c0b5ce
2 changed files with 26 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
%inline %{
|
||||
struct OldStruct {
|
||||
enum { ONE = 1, TWO, THREE };
|
||||
OldStruct() : OldInstanceVariable(111) {}
|
||||
int OldInstanceVariable;
|
||||
int OldInstanceMethod() { return 222; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue