Files
neovim/test/functional/fixtures/printargs-test.c
dundargoc fd05c7f19d test: format C test files and fix clang-tidy warnings
It's probably not worth adding the C test files to regular formatting as
they're pretty much never touched, but ensuring the files are formatted
according to our standards and getting rid of warnings is a cheap
one-time fix.
2024-12-21 16:01:58 +01:00

10 lines
144 B
C

#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;
}