mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	Add another test case for preprocessor token pasting. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			161 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			161 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| %macro bug 1-*
 | |
| 	%push foo
 | |
| 		%define %$v %1
 | |
| 		%define vv %$v_ %+ %1
 | |
| 		%%top_{%$v}%1:
 | |
| 		mov eax, eax
 | |
| 		mov eax, %%top_{%$v}%1
 | |
| 		mov eax, vv
 | |
| 	%pop
 | |
| %endmacro
 | |
| 
 | |
| bug a
 |