rust/src/test/run-pass/extern-pub.rs
Philipp Brüschweiler 469f394b25 Remove intrinsic module
To achieve this, the following changes were made:
* Move TyDesc, TyVisitor and Opaque to std::unstable::intrinsics
* Convert TyDesc, TyVisitor and Opaque to lang items instead of specially
  handling the intrinsics module
* Removed TypeDesc, FreeGlue and get_type_desc() from sys

Fixes #3475.
2013-06-23 12:49:16 +02:00

9 lines
88 B
Rust

use std::libc;
extern {
pub unsafe fn free(p: *libc::c_void);
}
pub fn main() {
}