CMake/Tests/SimpleCOnly/main.c
Alexander Neundorf ae47302529 ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this
doesn't support C++ and also doesn't have a printf() implementation by
default
-add a test for mingw cross compiler

Alex
2007-06-26 15:30:02 -04:00

13 lines
128 B
C

#include <stdio.h>
extern int foo();
extern int bar();
int main()
{
int i=foo();
int k=bar();
i=i*k;
return i;
}