2011-10-06 23:33:04 -05:00
|
|
|
// -*- rust -*-
|
|
|
|
|
2012-08-01 19:30:05 -05:00
|
|
|
unsafe fn f() { return; }
|
2011-10-06 23:33:04 -05:00
|
|
|
|
|
|
|
fn main() {
|
2012-06-30 06:23:59 -05:00
|
|
|
f(); //~ ERROR access to unsafe function requires unsafe function or block
|
2011-10-06 23:33:04 -05:00
|
|
|
}
|