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:
Artem Serebriyskiy 2013-11-08 04:33:45 +04:00 • committed by William S Fulton
commit 8b35c0b5ce
2 changed files with 26 additions and 0 deletions

View file

@ -11,6 +11,7 @@
%inline %{
struct OldStruct {
enum { ONE = 1, TWO, THREE };
OldStruct() : OldInstanceVariable(111) {}
int OldInstanceVariable;
int OldInstanceMethod() { return 222; }