Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / lsan / TestCases / sanity_check_pure_c.c
blob085412b47d552b2e625d7811597ffcd9b6867edd
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
7 int main() {
8 // FIXME: ideally this should somehow check that we don't have libstdc++
9 return 0;