brintos

brintos / llvm-project-archived public Read only

0
0
Text · 357 B · 850bc90 Raw
17 lines · c
1// RUN: %libomp-compile-and-run2 3/*4 GCC failed this test because __kmp_get_gtid() instead of __kmp_entry_gtid()5 was called in xexpand(KMP_API_NAME_GOMP_TASKGROUP_START)(void).6 __kmp_entry_gtid() will initialize the runtime if not yet done which does not7 happen with __kmp_get_gtid().8 */9 10int main()11{12    #pragma omp taskgroup13    { }14 15    return 0;16}17