about summary refs log tree commit diff
path: root/src/test/assembly/stack-protector
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/assembly/stack-protector')
-rw-r--r--src/test/assembly/stack-protector/stack-protector-heuristics-effect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/assembly/stack-protector/stack-protector-heuristics-effect.rs b/src/test/assembly/stack-protector/stack-protector-heuristics-effect.rs
index 530326ab743..7c2b6055090 100644
--- a/src/test/assembly/stack-protector/stack-protector-heuristics-effect.rs
+++ b/src/test/assembly/stack-protector/stack-protector-heuristics-effect.rs
@@ -78,7 +78,7 @@ pub fn array_u8_1(f: fn(*const u8)) {
 #[no_mangle]
 pub fn array_u8_small(f: fn(*const u8)) {
     let a = [0u8; 2];
-    let b = [0u8; 8];
+    let b = [0u8; 7];
     f(&a as *const _);
     f(&b as *const _);