nixpkgs/pkgs/test/cc-wrapper/sanitizers.c
Benjamin Saunders ee06f735a8 tests.cc-wrapper: verify building with sanitizers
(cherry picked from commit 46eeef1898)
2018-05-25 11:53:18 -04:00

9 lines
133 B
C

#include <sanitizer/asan_interface.h>
#include <stdio.h>
int main(int argc, char **argv)
{
fprintf(stderr, "ok\n");
return 0;
}