[swfinterp] Add support for multiple classes
This commit is contained in:
		
							parent
							
								
									e75c24e889
								
							
						
					
					
						commit
						70f767dc65
					
				
					 2 changed files with 57 additions and 6 deletions
				
			
		
							
								
								
									
										15
									
								
								test/swftests/ClassConstruction.as
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								test/swftests/ClassConstruction.as
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
// input: []
 | 
			
		||||
// output: 0
 | 
			
		||||
 | 
			
		||||
package {
 | 
			
		||||
public class ClassConstruction {
 | 
			
		||||
    public static function main():int{
 | 
			
		||||
    	var f:Foo = new Foo();
 | 
			
		||||
        return 0;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
class Foo {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue