~mmach/netext73/meson

« back to all changes in this revision

Viewing changes to test cases/common/178 identical target name in subproject flat layout/main.c

  • Committer: mmach
  • Date: 2020-04-09 10:35:04 UTC
  • Revision ID: netbit73@gmail.com-20200409103504-wkxbh6yl5fzlueas
0.53.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <stdio.h>
2
 
 
3
 
int meson_test_main_foo(void);
4
 
int meson_test_subproj_foo(void);
5
 
 
6
 
int main(void) {
7
 
    if (meson_test_main_foo() != 10) {
8
 
        printf("Failed meson_test_main_foo\n");
9
 
        return 1;
10
 
    }
11
 
    if (meson_test_subproj_foo() != 20) {
12
 
        printf("Failed meson_test_subproj_foo\n");
13
 
        return 1;
14
 
    }
15
 
    return 0;
16
 
}