diff options
Diffstat (limited to 'third_party/git/t/t4051')
-rw-r--r-- | third_party/git/t/t4051/appended1.c | 15 | ||||
-rw-r--r-- | third_party/git/t/t4051/appended2.c | 35 | ||||
-rw-r--r-- | third_party/git/t/t4051/dummy.c | 7 | ||||
-rw-r--r-- | third_party/git/t/t4051/hello.c | 24 | ||||
-rw-r--r-- | third_party/git/t/t4051/includes.c | 20 |
5 files changed, 101 insertions, 0 deletions
diff --git a/third_party/git/t/t4051/appended1.c b/third_party/git/t/t4051/appended1.c new file mode 100644 index 000000000000..a9f56f11db3e --- /dev/null +++ b/third_party/git/t/t4051/appended1.c @@ -0,0 +1,15 @@ + +int appended(void) // Begin of first part +{ + int i; + char *s = "a string"; + + printf("%s\n", s); + + for (i = 99; + i >= 0; + i--) { + printf("%d bottles of beer on the wall\n", i); + } + + printf("End of first part\n"); diff --git a/third_party/git/t/t4051/appended2.c b/third_party/git/t/t4051/appended2.c new file mode 100644 index 000000000000..e651f7147b97 --- /dev/null +++ b/third_party/git/t/t4051/appended2.c @@ -0,0 +1,35 @@ + printf("Begin of second part\n"); + + /* + * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, + * sed diam nonumy eirmod tempor invidunt ut labore et dolore + * magna aliquyam erat, sed diam voluptua. At vero eos et + * accusam et justo duo dolores et ea rebum. Stet clita kasd + * gubergren, no sea takimata sanctus est Lorem ipsum dolor + * sit amet. + * + * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, + * sed diam nonumy eirmod tempor invidunt ut labore et dolore + * magna aliquyam erat, sed diam voluptua. At vero eos et + * accusam et justo duo dolores et ea rebum. Stet clita kasd + * gubergren, no sea takimata sanctus est Lorem ipsum dolor + * sit amet. + * + * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, + * sed diam nonumy eirmod tempor invidunt ut labore et dolore + * magna aliquyam erat, sed diam voluptua. At vero eos et + * accusam et justo duo dolores et ea rebum. Stet clita kasd + * gubergren, no sea takimata sanctus est Lorem ipsum dolor + * sit amet. + * + * Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, + * sed diam nonumy eirmod tempor invidunt ut labore et dolore + * magna aliquyam erat, sed diam voluptua. At vero eos et + * accusam et justo duo dolores et ea rebum. Stet clita kasd + * gubergren, no sea takimata sanctus est Lorem ipsum dolor + * sit amet. + * + */ + + return 0; +} // End of second part diff --git a/third_party/git/t/t4051/dummy.c b/third_party/git/t/t4051/dummy.c new file mode 100644 index 000000000000..a43016e870ff --- /dev/null +++ b/third_party/git/t/t4051/dummy.c @@ -0,0 +1,7 @@ + +static int dummy(void) // Begin of dummy +{ + int rc = 0; + + return rc; +} // End of dummy diff --git a/third_party/git/t/t4051/hello.c b/third_party/git/t/t4051/hello.c new file mode 100644 index 000000000000..73e767e1783d --- /dev/null +++ b/third_party/git/t/t4051/hello.c @@ -0,0 +1,24 @@ + +/* + * Hello comment. + */ +static void hello(void) // Begin of hello +{ + /* + * Classic. + */ + putchar('H'); + putchar('e'); + putchar('l'); + putchar('l'); + putchar('o'); + putchar(' '); + /* delete me from hello */ + putchar('w'); + putchar('o'); + putchar('r'); + putchar('l'); + putchar('d'); + putchar('.'); + putchar('\n'); +} // End of hello diff --git a/third_party/git/t/t4051/includes.c b/third_party/git/t/t4051/includes.c new file mode 100644 index 000000000000..efc68f8bf6de --- /dev/null +++ b/third_party/git/t/t4051/includes.c @@ -0,0 +1,20 @@ +#include <Begin.h> +#include <unistd.h> +#include <stdio.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <stddef.h> +#include <stdlib.h> +#include <stdarg.h> +/* delete me from includes */ +#include <string.h> +#include <sys/types.h> +#include <dirent.h> +#include <sys/time.h> +#include <time.h> +#include <signal.h> +#include <assert.h> +#include <regex.h> +#include <utime.h> +#include <syslog.h> +#include <End.h> |