aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/add_link.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/add_link.i')
-rw-r--r--Examples/test-suite/add_link.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/Examples/test-suite/add_link.i b/Examples/test-suite/add_link.i
new file mode 100644
index 000000000..dfd4b376d
--- /dev/null
+++ b/Examples/test-suite/add_link.i
@@ -0,0 +1,20 @@
+%module add_link
+
+%extend Foo {
+Foo *blah() {
+ return new Foo();
+}
+};
+
+
+%inline %{
+class Foo {
+public:
+ Foo() { };
+};
+
+%}
+
+
+
+