repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] RISC-V: Bugfix for unrecognizable insn for XTheadVector
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr78363-1.C
blob
7d89d0cdb510ba64f01dcc775b931313bbcb0cbc
1
// { dg-do compile }
2
// { dg-require-effective-target c++11 }
3
// { dg-additional-options "-g" }
4
5
int main()
6
{
7
int n = 0;
8
9
#pragma omp parallel for reduction (+: n)
10
for (int i = [](){ return 3; }(); i < 10; ++i)
11
n++;
12
13
return n;
14
}