parent
ea9b49438d
commit
f1bf87ec8a
3 changed files with 18 additions and 6 deletions
@ -0,0 +1,10 @@ |
||||
#include<string.h> |
||||
#include<stdio.h> |
||||
|
||||
int main(int argc, char **argv) { |
||||
if(strcmp(DEF_WITH_BACKSLASH, "foo\\bar")) { |
||||
printf("Arg string is quoted incorrectly: %s\n", DEF_WITH_BACKSLASH); |
||||
return 1; |
||||
} |
||||
return 0; |
||||
} |
@ -0,0 +1,3 @@ |
||||
project('comparer', 'c') |
||||
|
||||
test('backslash quoting', executable('comparer', 'comparer.c', c_args : '-DDEF_WITH_BACKSLASH="foo\\bar"')) |
Loading…
Reference in new issue