From 8de6585ba4f40bbfd3cda2c5b01d644606ca0eb9 Mon Sep 17 00:00:00 2001
From: ds5678 <49847914+ds5678@users.noreply.github.com>
Date: Sat, 15 Mar 2025 10:41:52 -0700
Subject: [PATCH] Add another int-guid pair test

---
 .../TestCases/Pretty/PointerArithmetic.cs                    | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/PointerArithmetic.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/PointerArithmetic.cs
index 4a609f123..4fe487658 100644
--- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/PointerArithmetic.cs
+++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/PointerArithmetic.cs
@@ -114,6 +114,11 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
 			((Guid*)ptr)[2] = Guid.NewGuid();
 		}
 
+		public unsafe static void AssignmentIntPointerToGuidPointer_2(int* ptr)
+		{
+			*(Guid*)(ptr + 2) = Guid.NewGuid();
+		}
+
 		public unsafe static Guid AccessIntPointerToGuidPointer(int* ptr)
 		{
 			return ((Guid*)ptr)[2];