mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			238 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			238 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ run-pass
 | |
| 
 | |
| #[path = "mod_dir_simple"]
 | |
| mod biscuits {
 | |
|     pub mod test;
 | |
| }
 | |
| 
 | |
| #[path = "mod_dir_simple"]
 | |
| mod gravy {
 | |
|     pub mod test;
 | |
| }
 | |
| 
 | |
| pub fn main() {
 | |
|     assert_eq!(biscuits::test::foo(), 10);
 | |
|     assert_eq!(gravy::test::foo(), 10);
 | |
| }
 | 
