summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CrosscompilingEmulator/emulator_unexpected.c
blob: e6bbcff0d34c35c26222ca416ee21ee58cd4bef1 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

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