summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CrosscompilingEmulator/generated_exe_emulator_unexpected.cxx
blob: 233f432d5336db8768f33cda35f3a37886ecc579 (plain)
1
2
3
4
5
6
7
8
9
#include <stdio.h>

int main(int argc, const char* argv[])
{
  for (int i = 1; i < argc; ++i) {
    fprintf(stderr, "unexpected argument: '%s'\n", argv[i]);
  }
  return argc == 1 ? 0 : 1;
}