1// Check if tsan work with PIE binaries.
2// RUN: %clang_tsan %s -pie -fpic -o %t && %run %t
3
4int main(void) {
5 return 0;
6}
7

source code of compiler-rt/test/tsan/pie_test.cpp