1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
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;
}