Initial commit

This commit is contained in:
Eagle517
2026-01-14 10:27:57 -06:00
commit c1576fee30
11290 changed files with 1552799 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
/* test-c.c
*
* A sample C++ program to test Dr.MinGW.
*
* Jose Fonseca
*/
#include <stdio.h>
typedef char * cp;
void YetAnotherFunction( int i, double j, char * pszString )
{
int k;
#if 0
/* Other ways to cause a GPF */
*(int *)i = 5;
__asm ("int $3");
(*((void (*)(void)) 0x12345678))();
#endif
sscanf("12345", "%i", (int *) (k=i));
}
void MyWonderfulFunction( int i, float j )
{
YetAnotherFunction( i * 2, j, "Hello" );
}
int main()
{
MyWonderfulFunction( 4, float(5.6) );
return 0;
}