From 6516b4a1253d3d55f06166d46ca44c203f77dee3 Mon Sep 17 00:00:00 2001 From: liuyingying19 Date: Fri, 30 May 2025 06:11:38 +0000 Subject: [PATCH] fix sanitize_with_gwp test case Signed-off-by: liuyingying19 --- compiler-rt/test/gwp_asan/sanitize_with_gwp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/gwp_asan/sanitize_with_gwp.cpp b/compiler-rt/test/gwp_asan/sanitize_with_gwp.cpp index fcff51dbcd53..598b003173f5 100644 --- a/compiler-rt/test/gwp_asan/sanitize_with_gwp.cpp +++ b/compiler-rt/test/gwp_asan/sanitize_with_gwp.cpp @@ -11,7 +11,7 @@ __attribute__((sanitize_with_gwp)) void doubleFree() { char *Ptr = new char; delete Ptr; delete Ptr; - return 0; + return ; } int main() { -- Gitee