mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	tests: add #2042 testcase
This commit is contained in:
		
							parent
							
								
									b11cf67a81
								
							
						
					
					
						commit
						e5ce5a4fd5
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								tests/verilog/bug2042.ys
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/verilog/bug2042.ys
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
logger -expect error "Non-ANSI style task/function arguments not currently supported" 1
 | 
			
		||||
read_verilog <<EOT
 | 
			
		||||
module Task_Test_Top
 | 
			
		||||
(
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
    task SomeTaskName(a)
 | 
			
		||||
    endtask
 | 
			
		||||
 | 
			
		||||
endmodule
 | 
			
		||||
EOT
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue