mirror of
				https://git.proxmox.com/git/rustc
				synced 2025-11-04 12:36:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			253 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			253 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// run-pass
 | 
						|
// Issue #17436
 | 
						|
 | 
						|
// pretty-expanded FIXME #23616
 | 
						|
 | 
						|
mod bleh {
 | 
						|
    macro_rules! foo {
 | 
						|
        () => {
 | 
						|
            pub fn bar(&self) { }
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
    pub struct S;
 | 
						|
 | 
						|
    impl S {
 | 
						|
        foo!();
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
fn main() {
 | 
						|
    bleh::S.bar();
 | 
						|
}
 |