llvm-for-llvmta/tools/clang/test/OpenMP/PR44893.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

16 lines
158 B
C

// RUN: %clang -fopenmp -O -g -x c %s -S -disable-output -o %t
// Do not crash ;)
void foo()
{
#pragma omp critical
;
}
void bar()
{
foo();
foo();
}