mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 21:16:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			209 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			209 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ compile-flags: -C no-prepopulate-passes
 | |
| 
 | |
| #![feature(core_intrinsics)]
 | |
| 
 | |
| use std::intrinsics::sqrtf32;
 | |
| 
 | |
| // CHECK: @llvm.sqrt.f32(float) #{{[0-9]*}}
 | |
| 
 | |
| fn main() {
 | |
|     unsafe {
 | |
|         sqrtf32(0.0f32);
 | |
|     }
 | |
| }
 | 
