12 lines · c
1// https://github.com/llvm/llvm-project/issues/1633692// RUN: %clang_tsan %s -o %t && %run %t3 4#if __x86_64__5__attribute__((target_clones("avx,default")))6#endif7static int has_target_clones(void) {8 return 0;9}10 11int main(void) { has_target_clones(); }12