Fix 'static mut' tests
This commit is contained in:
parent
8fdc8f392c
commit
b94f89fffc
2 changed files with 2 additions and 2 deletions
|
|
@ -41,6 +41,6 @@ unsafe fn run() {
|
|||
static_bound_set(&mut debug_static_mut);
|
||||
}
|
||||
|
||||
fn main() {
|
||||
pub fn main() {
|
||||
unsafe { run() }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ unsafe fn run() {
|
|||
static_bound_set(&mut static_mut_xc::a);
|
||||
}
|
||||
|
||||
fn main() {
|
||||
pub fn main() {
|
||||
unsafe { run() }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue