Sign in
fuchsia
/
third_party
/
swift-compiler-rt
/
refs/tags/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-05-09-a
/
.
/
test
/
lsan
/
TestCases
/
sanity_check_pure_c.c
blob: 085412b47d552b2e625d7811597ffcd9b6867edd [
file
] [
log
] [
blame
]
// Check that we can build C code.
// RUN: %clang_lsan %s -o %t
#ifdef
__cplusplus
#error
"This test must be built in C mode"
#endif
int
main
()
{
// FIXME: ideally this should somehow check that we don't have libstdc++
return
0
;
}