aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures/printargs-test.c
blob: be546058170e1795e51b819be992e1ef195929cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// 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

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