Sign in
fuchsia
/
third_party
/
llvm-project
/
refs/heads/upstream/users/joker-eph-python-bindings-maintainers
/
.
/
clang
/
test
/
SemaOpenACC
/
gh140712.cpp
blob: ca1b6234be72d254906973b03ecffa3b7e76c586 [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 %s -fopenacc -verify
void
foo
()
{
switch
(
int
x
=
0
)
{
case
0
:
#pragma
acc parallel
break
;
// expected-error{{invalid branch out of OpenACC Compute/Combined Construct}}
}
}