repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
goacc
/
tile-1.C
blob
27c53835d3631fb990b7385285e50ebb67b264d7
1
/* of tile erroneously clobbered the template, resulting
2
in missing errors and other fun. */
3
4
template <int I>
5
void Foo ()
6
{
7
#pragma acc parallel loop tile(I) // { dg-error "" }
8
for (int ix = 0; ix < 10; ix++)
9
;
10
}
11
12
int main ()
13
{
14
Foo<1> (); // OK
15
Foo<-1> (); // error
16
}