Add a Vala test case for mixed sources

pull/886/head
Guillaume Poirier-Morency 8 years ago committed by Jussi Pakkanen
parent c2b852c9b3
commit a0b04e730e
  1. 5
      test cases/vala/11 mixed sources/bar.vala
  2. 3
      test cases/vala/11 mixed sources/foo.c
  3. 5
      test cases/vala/11 mixed sources/meson.build

@ -0,0 +1,5 @@
extern int test ();
public int main (string[] args) {
return test ();
}

@ -0,0 +1,3 @@
int test () {
return 0;
}

@ -0,0 +1,5 @@
project('foo', 'c', 'vala')
glib = dependency('glib-2.0')
executable('foo', 'foo.c', 'bar.vala', dependencies: [glib])
Loading…
Cancel
Save