tests: - add "hello" to test first basic compilation to file/memory - add "more" test (tests2 suite) - remove some tests tests2: - move into tests dir - Convert some files from DOS to unix LF - remove 2>&1 redirection win32: - tccrun.c: modify exception filter to exit correctly (needed for btest) - tcctest.c: exclude weak_test() (feature does not exist on win32)
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			194 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			194 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include <stdio.h>
 | 
						|
 | 
						|
int main()
 | 
						|
{
 | 
						|
   int a;
 | 
						|
 | 
						|
   for (a = 0; a < 2; a++)
 | 
						|
   {
 | 
						|
      int b = a;
 | 
						|
   }
 | 
						|
 | 
						|
   printf("it's all good\n");
 | 
						|
 | 
						|
   return 0;
 | 
						|
}
 | 
						|
 | 
						|
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
 |