forked from OSchip/llvm-project
				
			
		
			
				
	
	
		
			9 lines
		
	
	
		
			316 B
		
	
	
	
		
			C++
		
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			316 B
		
	
	
	
		
			C++
		
	
	
	
// RUN: clang-tidy %s -checks=-*,modernize-use-default -- -std=c++11 -fdelayed-template-parsing -fexceptions | count 0
 | 
						|
// Note: this test expects no diagnostics, but FileCheck cannot handle that,
 | 
						|
// hence the use of | count 0.
 | 
						|
 | 
						|
template <typename Ty>
 | 
						|
struct S {
 | 
						|
  S<Ty>& operator=(const S<Ty>&) { return *this; }
 | 
						|
};
 |