Add another test and put real-version first (#116)

This commit is contained in:
Patrick Stevens
2025-08-24 20:38:43 +01:00
committed by GitHub
parent 91aff34d1e
commit 4de0dbd816
4 changed files with 287 additions and 6 deletions

View File

@@ -191,7 +191,7 @@ public class StructLayoutTests
static int TestStructPassing()
{
var s = new SequentialStruct { A = 500, B = 50, C = 5000 };
var s = new SequentialStruct { A = 500, B = 50, C = 5005 };
int result = ProcessSequential(s);
if (result != 555) return 50; // 500 + 50 + 5 (C % 1000)