forked from OSchip/llvm-project
				
			
		
			
				
	
	
		
			8 lines
		
	
	
		
			371 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			371 B
		
	
	
	
		
			Plaintext
		
	
	
	
## Test that CHECK lines are generated before the definion and not the declaration
 | 
						|
 | 
						|
# RUN: cp %S/Inputs/def-and-decl.c %t.c && %update_cc_test_checks %t.c
 | 
						|
# RUN: diff -u %S/Inputs/def-and-decl.c.expected %t.c
 | 
						|
## Check that re-running update_cc_test_checks doesn't change the output
 | 
						|
# RUN: %update_cc_test_checks %t.c
 | 
						|
# RUN: diff -u %S/Inputs/def-and-decl.c.expected %t.c
 |