forked from OSchip/llvm-project
				
			
		
			
				
	
	
		
			25 lines
		
	
	
		
			416 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			416 B
		
	
	
	
		
			Plaintext
		
	
	
	
// FIXME: Actually, "perl".
 | 
						|
REQUIRES: shell
 | 
						|
 | 
						|
// FIXME: Should ideally work on Windows.
 | 
						|
UNSUPPORTED: system-windows
 | 
						|
 | 
						|
RUN: %scan-build -h | FileCheck %s
 | 
						|
RUN: %scan-build --help | FileCheck %s
 | 
						|
 | 
						|
Test for help output from scan-build.
 | 
						|
 | 
						|
 | 
						|
CHECK: USAGE: scan-build [options] <build command> [build options]
 | 
						|
 | 
						|
...
 | 
						|
 | 
						|
CHECK: AVAILABLE CHECKERS:
 | 
						|
...
 | 
						|
CHECK:  + core.NullDereference
 | 
						|
CHECK:    optin.performance.GCDAntipattern
 | 
						|
...
 | 
						|
 | 
						|
 | 
						|
 |