Files
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
bdwgc
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm-project
clang
clang-tools-extra
compiler-rt
eng
libcxx
libcxxabi
libunwind
lld
lldb
llvm
nuget
openmp
cmake
libomptarget
offload
runtime
cmake
doc
src
test
api
atomic
barrier
critical
env
flush
lock
master
misc_bugs
ompt
parallel
tasking
bug_nested_proxy_task.c
bug_proxy_task_dep_waiting.c
bug_serial_taskgroup.c
kmp_task_reduction_nest.cpp
kmp_taskloop.c
nested_parallel_tasking.c
nested_task_creation.c
omp_task.c
omp_task_final.c
omp_task_firstprivate.c
omp_task_if.c
omp_task_imp_firstprivate.c
omp_task_priority.c
omp_task_private.c
omp_task_shared.c
omp_taskloop_grainsize.c
omp_taskloop_num_tasks.c
omp_taskwait.c
omp_taskyield.c
threadprivate
worksharing
CMakeLists.txt
lit.cfg
lit.site.cfg.in
omp_my_sleep.h
omp_testsuite.h
tools
.clang-format
CMakeLists.txt
README.txt
www
.arcconfig
.gitignore
CMakeLists.txt
CREDITS.txt
LICENSE.txt
README.rst
polly
Directory.Build.props
Directory.Build.targets
NuGet.config
azure-pipelines.yml
build.cmd
build.sh
dir.common.props
global.json
llvm.proj
mxe-Win64.cmake.in
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
llvm
m4
man
mcs
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
linux-packaging-mono/external/llvm-project/openmp/runtime/test/tasking/bug_serial_taskgroup.c

17 lines
357 B
C
Raw Normal View History

// RUN: %libomp-compile-and-run
/*
GCC failed this test because __kmp_get_gtid() instead of __kmp_entry_gtid()
was called in xexpand(KMP_API_NAME_GOMP_TASKGROUP_START)(void).
__kmp_entry_gtid() will initialize the runtime if not yet done which does not
happen with __kmp_get_gtid().
*/
int main()
{
#pragma omp taskgroup
{ }
return 0;
}