Loading...
tests/asan.c /dev/null libmalloc-140.1.1
--- /dev/null
+++ libmalloc/libmalloc-140.1.1/tests/asan.c
@@ -0,0 +1,10 @@
+#include <stdlib.h>
+
+#include <darwintest.h>
+
+T_DECL(asan_sanity, "ASan Sanity Check",
+		T_META_CHECK_LEAKS(NO)){
+	void *ptr = malloc(16);
+	free(ptr);
+	T_PASS("I didn't crash!");
+}