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
/
all-memory-1.C
blob
8f3358df8b193e0c8fbc816260f89373b0558165
1
namespace A
2
{
3
namespace omp_all_memory // { dg-error "expected" }
4
{
5
}
6
}
7
8
namespace B
9
{
10
template <int N>
11
void omp_all_memory () {} // { dg-error "expected" }
12
}
13
14
namespace C
15
{
16
template <int N>
17
struct omp_all_memory {}; // { dg-error "expected" }
18
}
19
20
namespace D
21
{
22
template <int omp_all_memory> // { dg-error "expected" }
23
struct S {};
24
}