diff options
Diffstat (limited to 'meson/test cases/vala/7 shared library/prog')
-rw-r--r-- | meson/test cases/vala/7 shared library/prog/meson.build | 4 | ||||
-rw-r--r-- | meson/test cases/vala/7 shared library/prog/prog.vala | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/vala/7 shared library/prog/meson.build b/meson/test cases/vala/7 shared library/prog/meson.build new file mode 100644 index 000000000..2b842eac6 --- /dev/null +++ b/meson/test cases/vala/7 shared library/prog/meson.build @@ -0,0 +1,4 @@ +e = executable('valaprog', 'prog.vala', + link_with : l, + include_directories : libinc, + dependencies : valadeps) diff --git a/meson/test cases/vala/7 shared library/prog/prog.vala b/meson/test cases/vala/7 shared library/prog/prog.vala new file mode 100644 index 000000000..3c4a017b1 --- /dev/null +++ b/meson/test cases/vala/7 shared library/prog/prog.vala @@ -0,0 +1,7 @@ +class MainApp : Object { + public static int main(string[] args) { + var l = new LibraryObject(); + l.func(); + return 0; + } +} |