| ... | ... | @@ -205,6 +205,7 @@ fn testCanonicalPlt(b: *Build, opts: Options) *Step { |
| 205 | 205 | \\ assert(foo == foo()); |
| 206 | 206 | \\ assert(bar == bar()); |
| 207 | 207 | \\ assert(bar == baz()); |
| 208 | \\ return 0; |
| 208 | 209 | \\} |
| 209 | 210 | , &.{"-fno-PIC"}); |
| 210 | 211 | main_o.linkLibC(); |
| ... | ... | @@ -217,6 +218,7 @@ fn testCanonicalPlt(b: *Build, opts: Options) *Step { |
| 217 | 218 | exe.pie = false; |
| 218 | 219 | |
| 219 | 220 | const run = addRunArtifact(exe); |
| 221 | run.expectExitCode(0); |
| 220 | 222 | test_step.dependOn(&run.step); |
| 221 | 223 | |
| 222 | 224 | return test_step; |