1// Check that we can build C code.
2// RUN: %clang_lsan %s -o %t
3#ifdef __cplusplus
4#error "This test must be built in C mode"
5#endif
6
7int main() {
8 // FIXME: ideally this should somehow check that we don't have libstdc++
9 return 0;
10}
11

source code of compiler-rt/test/lsan/TestCases/sanity_check_pure_c.c