Files correlati : Commento : Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
		
			
				
	
	
		
			19 lines
		
	
	
		
			559 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			559 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* n_29.c:  #undef directive.   */
 | 
						|
 | 
						|
/* 29.1:    Undefined macro is not a macro. */
 | 
						|
/*  DEFINED;    */
 | 
						|
#define DEFINED
 | 
						|
#undef  DEFINED
 | 
						|
    DEFINED;
 | 
						|
 | 
						|
/* 29.2:    Undefining undefined name is not an error.  */
 | 
						|
#undef  UNDEFINED
 | 
						|
 | 
						|
/* { dg-do preprocess }
 | 
						|
   { dg-final { if ![file exist n_29.i] { return }                      } }
 | 
						|
   { dg-final { if \{ [grep n_29.i "DEFINED"] != ""             \} \{   } }
 | 
						|
   { dg-final { return \}                                               } }
 | 
						|
   { dg-final { fail "n_29.c: #undef"                                   } }
 | 
						|
 */
 | 
						|
 |