diff options
Diffstat (limited to 'Examples/test-suite/director_keywords.i')
-rw-r--r-- | Examples/test-suite/director_keywords.i | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Examples/test-suite/director_keywords.i b/Examples/test-suite/director_keywords.i new file mode 100644 index 000000000..473786c00 --- /dev/null +++ b/Examples/test-suite/director_keywords.i @@ -0,0 +1,13 @@ +// Checks if collisions of argument names with target language keywords are +// resolved properly when directors are used (currently only »abstract« for +// C#, D and Java is checked). +%module(directors="1") director_keywords + +%feature("director") Foo; + +%inline %{ +struct Foo { + virtual ~Foo() {} + virtual void bar(int abstract) {} +}; +%} |