summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/process/test/exit_argc.cpp
blob: 2cf6ec37a2627ee7516052a0c6ef8c663bc8923c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2018 Oxford Nanopore Technologies
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <iostream>

int main(int argc, char *argv[])
{
    for (int i = 0; i < argc; ++i) {
        std::cout << argv[i] << '\n';
    }
    return argc;
}