Add necessary feature gate opt-in for the pushpop_unsafe test.

This commit is contained in:
Felix S. Klock II 2015-07-21 14:31:30 +02:00
parent bb952358aa
commit 4a5fb4bd2a
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@
// positive number of pushes in the stack, or if we are within a
// normal `unsafe` block, but otherwise cannot.
#![feature(pushpop_unsafe)]
static mut X: i32 = 0;
unsafe fn f() { X += 1; return; }