mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-03 14:21:30 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169862 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			13 lines
		
	
	
		
			223 B
		
	
	
	
		
			TableGen
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			223 B
		
	
	
	
		
			TableGen
		
	
	
	
	
	
// RUN: llvm-tblgen %s | grep WorldHelloCC | count 1
 | 
						|
 | 
						|
class C<string n> {
 | 
						|
  string name = n;
 | 
						|
}
 | 
						|
 | 
						|
multiclass Names<string n, string m> {
 | 
						|
   def CC : C<n>;
 | 
						|
   def World#NAME#CC : C<m>;
 | 
						|
}
 | 
						|
 | 
						|
defm Hello : Names<"hello", "world">;
 |