summaryrefslogtreecommitdiff
path: root/src/test/java/com/seaofnodes/simple/Chapter11Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/seaofnodes/simple/Chapter11Test.java')
-rw-r--r--src/test/java/com/seaofnodes/simple/Chapter11Test.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/com/seaofnodes/simple/Chapter11Test.java b/src/test/java/com/seaofnodes/simple/Chapter11Test.java
index e009c6b6..60ff05d8 100644
--- a/src/test/java/com/seaofnodes/simple/Chapter11Test.java
+++ b/src/test/java/com/seaofnodes/simple/Chapter11Test.java
@@ -9,7 +9,7 @@ public class Chapter11Test {
@Test public void testIndependentField() {
var stop = new Parser("""
struct S { int x; int y; };
- S s = new S;
+ !S !s = new S;
s.x = 42;
while (arg > 0) { s.y = s.y + arg; arg = arg - 1; }
return s.x;
@@ -22,8 +22,8 @@ public class Chapter11Test {
@Test public void testParallelMemoryPhis() {
var stop = new Parser("""
struct S { int x; int y; int z; };
- S a = new S; S b = new S;
- S p = a; if (arg) p = b;
+ !S !a = new S; !S !b = new S;
+ !S !p = a; if (arg) p = b;
while (arg > 0) {
a.x = p.x + arg;
a.y = p.y + 2;