mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	const2ast: add diagnostics tests
This commit is contained in:
		
							parent
							
								
									41107e5473
								
							
						
					
					
						commit
						49cd3887a7
					
				
					 4 changed files with 17 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								tests/verilog/constparser_f_file.ys
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								tests/verilog/constparser_f_file.ys
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
logger -expect prefix-error "./constparser_f_file.sv:2: ERROR: Digit larger than 1 used in in base-2 constant." 1
 | 
			
		||||
read_verilog -sv ./constparser_f_file.sv
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue