cmake/Tests/RunCMake/CrosscompilingEmulator/generated_exe_emulator_unexpected.cxx

10 lines
191 B
C++
Raw Normal View History

2017-04-14 19:02:05 +02:00
#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;
}