neovim/test/functional/fixtures/printargs-test.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
301 B
C
Raw Permalink Normal View History

2017-04-19 09:11:50 -07:00
// This is an open source non-commercial project. Dear PVS-Studio, please check
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
2016-08-25 09:28:54 -07:00
#include <stdio.h>
int main(int argc, char **argv)
{
for (int i=1; i<argc; i++) {
printf("arg%d=%s;", i, argv[i]);
}
return 0;
}