cmake/Tests/RunCMake/CrosscompilingEmulator/emulator_unexpected.c

11 lines
196 B
C
Raw Normal View History

2017-04-14 19:02:05 +02:00
#include <stdio.h>
int main(int argc, const char* argv[])
{
2024-04-14 22:45:38 +02:00
int i;
for (i = 1; i < argc; ++i) {
2017-04-14 19:02:05 +02:00
fprintf(stderr, "unexpected argument: '%s'\n", argv[i]);
}
return argc == 1 ? 0 : 1;
}