Loading libmemunreachable/tests/MemUnreachable_test.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,8 @@ class HiddenPointer { // Trick the compiler into thinking a value on the stack is still referenced. static void Ref(void** ptr) { write(0, ptr, 0); void** volatile storage; storage = ptr; } class MemunreachableTest : public ::testing::Test { Loading Loading
libmemunreachable/tests/MemUnreachable_test.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,8 @@ class HiddenPointer { // Trick the compiler into thinking a value on the stack is still referenced. static void Ref(void** ptr) { write(0, ptr, 0); void** volatile storage; storage = ptr; } class MemunreachableTest : public ::testing::Test { Loading