#!/usr/bin/env bash

gcc-mp-12 -fsanitize=address -x c <(echo 'main() {}')
ASAN_OPTIONS=detect_leaks=1 ./a.out &
child_pid="${!}"
/usr/bin/sample "${child_pid}" 3
kill "${child_pid}"
