Bochs/bochs-testing/plugin-test/test1-static/uselib.cc
Bryce Denney 059b59c98e - in bochs-testing area, check in shared library tests that I wrote while
trying to get plugins working on Cygwin.

Added Files:
	Makefile
	test1-static/*
	test2-dynamic/*
	test3-twomodules/*
	test4-interdep/*
2002-10-11 14:51:27 +00:00

14 lines
249 B
C++

#include <stdio.h>
#include "module1.h"
int main ()
{
printf ("start\n");
printf ("Module name is '%s'\n", module_name);
int a=5, b=12;
int c = operate (a, b);
printf ("operate(%d,%d) = %d\n", a, b, c);
printf ("stop\n");
return 0;
}