| 
									
										
										
										
											2010-02-19 18:01:47 -05:00
										 |  |  | IN: compiler.tests.redefine23 | 
					
						
							|  |  |  | USING: classes.struct specialized-arrays alien.c-types sequences | 
					
						
							| 
									
										
										
										
											2015-08-12 09:49:02 -04:00
										 |  |  | compiler.units vocabs tools.test specialized-arrays.private ;
 | 
					
						
							| 
									
										
										
										
											2010-02-19 18:01:47 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | STRUCT: my-struct { x int } ;
 | 
					
						
							|  |  |  | SPECIALIZED-ARRAY: my-struct | 
					
						
							| 
									
										
										
										
											2017-06-01 17:59:35 -04:00
										 |  |  | : my-word ( a -- b ) <iota> [ my-struct <struct-boa> ] my-struct-array{ } map-as ;
 | 
					
						
							| 
									
										
										
										
											2010-02-19 18:01:47 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | [ ] [ | 
					
						
							|  |  |  |     [ | 
					
						
							| 
									
										
										
										
											2010-04-13 03:56:48 -04:00
										 |  |  |         my-struct specialized-array-vocab forget-vocab | 
					
						
							| 
									
										
										
										
											2010-02-19 18:01:47 -05:00
										 |  |  |     ] with-compilation-unit | 
					
						
							|  |  |  | ] unit-test |