parent
8d2fbf8084
commit
7882549f86
5 changed files with 30 additions and 1 deletions
@ -0,0 +1,12 @@ |
||||
project('slashname', 'c') |
||||
|
||||
# Traverse this subdir so the corresponding dir |
||||
# is created inside the build dir. |
||||
subdir('sub') |
||||
|
||||
# Try to create an executable that would go in the "sub" dir |
||||
# inside the build dir. This is prohibited. |
||||
executable('sub/prog', pf) |
||||
|
||||
error('Re-enable me once slash in name is finally prohibited.') |
||||
|
@ -0,0 +1,2 @@ |
||||
pf = files('prog.c') |
||||
|
@ -0,0 +1,6 @@ |
||||
#include<stdio.h> |
||||
|
||||
int main(int argc, char **argv) { |
||||
printf("I should not be run ever.\n"); |
||||
return 1; |
||||
} |
Loading…
Reference in new issue