diff options
Diffstat (limited to 'compiler-rt/lib/dfsan/lit_tests/propagate.c')
| -rw-r--r-- | compiler-rt/lib/dfsan/lit_tests/propagate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/lib/dfsan/lit_tests/propagate.c b/compiler-rt/lib/dfsan/lit_tests/propagate.c index d78c9ae0b33..31b65ee72a4 100644 --- a/compiler-rt/lib/dfsan/lit_tests/propagate.c +++ b/compiler-rt/lib/dfsan/lit_tests/propagate.c @@ -34,5 +34,8 @@ int main(void) { assert(dfsan_has_label(ijk_label, j_label)); assert(dfsan_has_label(ijk_label, k_label)); + struct { int i, j; } s = { i, j }; + assert(dfsan_read_label(&s, sizeof(s)) == ij_label); + return 0; } |

