From 05dfcebb16b7fde1d743d8b4dd18509ea917c738 Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Thu, 5 Dec 2024 16:01:29 -0500 Subject: [PATCH] fix whitespace --- test/arrayops.jl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/arrayops.jl b/test/arrayops.jl index 7d3a1cfa64c7f..cda9ba7b2fee9 100644 --- a/test/arrayops.jl +++ b/test/arrayops.jl @@ -3324,14 +3324,14 @@ end end @test f() === 4.0 function confuse_alias_analysis() - mem0 = Memory{Int}(undef, 1) - mem1 = Memory{Int}(undef, 1) - @inbounds mem0[1] = 3 - for width in 1:2 - @inbounds mem1[1] = mem0[1] - mem0 = mem1 - end - mem0[1] + mem0 = Memory{Int}(undef, 1) + mem1 = Memory{Int}(undef, 1) + @inbounds mem0[1] = 3 + for width in 1:2 + @inbounds mem1[1] = mem0[1] + mem0 = mem1 + end + mem0[1] end @test confuse_alias_analysis() == 3 @test_broken (@allocated confuse_alias_analysis()) == 0