summaryrefslogtreecommitdiff
path: root/test/tsan/pie_test.cpp
blob: 93d31daf5fd61bff0aaaa1e4cd375d2476abc790 (plain)
1
2
3
4
5
6
// Check if tsan work with PIE binaries.
// RUN: %clang_tsan %s -pie -fpic -o %t && %run %t

int main(void) {
  return 0;
}