]> git.proxmox.com Git - rustc.git/blame - src/compiler-rt/test/lsan/TestCases/sanity_check_pure_c.c
New upstream version 1.19.0+dfsg3
[rustc.git] / src / compiler-rt / test / lsan / TestCases / sanity_check_pure_c.c
CommitLineData
1a4d82fc
JJ
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}