ansi.c revision e739ac0589b4fb43561f801c4faba8c1b89f8680
1/* It's possible that people #include valgrind.h in files compiled with
2 * -ansi.  So valgrind.h shouldn't contain any code that won't pass -ansi,
3 * such as C++ style "//" comments.  This test ensures that.  So the test is
4 * really that it compiles ok, rather than it runs ok.  From bug report
5 * #103182. */
6
7#include "valgrind.h"
8#include "../../memcheck/memcheck.h"
9#include "../../helgrind/helgrind.h"
10
11int main(void)
12{
13   return 0;
14}
15