From 78b9749c0a4ea980a8b934645da6ae98fcc665e8 Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 6 Jan 2016 20:12:03 +0000 Subject: Vendor import of lldb trunk r256945: https://llvm.org/svn/llvm-project/lldb/trunk@256945 --- packages/Python/lldbsuite/test/settings/quoting/main.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/Python/lldbsuite/test/settings/quoting/main.c (limited to 'packages/Python/lldbsuite/test/settings/quoting/main.c') diff --git a/packages/Python/lldbsuite/test/settings/quoting/main.c b/packages/Python/lldbsuite/test/settings/quoting/main.c new file mode 100644 index 0000000..6e01c2d --- /dev/null +++ b/packages/Python/lldbsuite/test/settings/quoting/main.c @@ -0,0 +1,13 @@ +#include +#include + +/* This program writes its arguments (separated by '\0') to stdout. */ +int +main(int argc, char const *argv[]) +{ + int i; + for (i = 1; i < argc; ++i) + fwrite(argv[i], strlen(argv[i])+1, 1, stdout); + + return 0; +} -- cgit v1.1