parent
48580ac8a3
commit
c09586462c
7 changed files with 22 additions and 3 deletions
@ -1 +1,16 @@ |
||||
int main() { return 0; } |
||||
extern int dir2; |
||||
extern int dir2_dir1; |
||||
extern int dir3; |
||||
extern int dir3_dir1; |
||||
|
||||
int main() { |
||||
if (dir2 != 20) |
||||
return 1; |
||||
if (dir2_dir1 != 21) |
||||
return 1; |
||||
if (dir3 != 30) |
||||
return 1; |
||||
if (dir3_dir1 != 31) |
||||
return 1; |
||||
return 0; |
||||
} |
||||
|
@ -0,0 +1 @@ |
||||
int dir2_dir1 = 21; |
@ -0,0 +1 @@ |
||||
int dir2 = 20; |
@ -0,0 +1 @@ |
||||
int dir3_dir1 = 31; |
@ -0,0 +1 @@ |
||||
int dir3 = 30; |
@ -1 +1 @@ |
||||
lib = static_library('empty', 'file.c', 'dir1/file.c') |
||||
lib = static_library('lib', 'file.c', 'dir1/file.c') |
||||
|
Loading…
Reference in new issue