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