gcc/testsuite/g++.dg/gomp/all-memory-1.C
raw| 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 | } |