xref: /llvm-project/compiler-rt/test/tsan/pie_test.cpp (revision bcaeed49cb063de9fe504aa29e1cadff8a7be710)
1 // Check if tsan work with PIE binaries.
2 // RUN: %clang_tsan %s -pie -fpic -o %t && %run %t
3 
main(void)4 int main(void) {
5   return 0;
6 }
7