gcc/testsuite/g++.dg/gomp/all-memory-2.C
raw| 1 | // { dg-options "-fno-openmp" } |
| 2 | |
| 3 | namespace A |
| 4 | { |
| 5 | namespace omp_all_memory // { dg-bogus "expected" } |
| 6 | { |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | namespace B |
| 11 | { |
| 12 | template <int N> |
| 13 | void omp_all_memory () {} // { dg-bogus "expected" } |
| 14 | } |
| 15 | |
| 16 | namespace C |
| 17 | { |
| 18 | template <int N> |
| 19 | struct omp_all_memory {}; // { dg-bogus "expected" } |
| 20 | } |
| 21 | |
| 22 | namespace D |
| 23 | { |
| 24 | template <int omp_all_memory> // { dg-bogus "expected" } |
| 25 | struct S {}; |
| 26 | } |