Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/gomp/pr84557.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 // PR c++/84557 | |
2 // { dg-do compile } | |
3 | |
4 template<int> struct A {}; | |
5 template<int> struct B {}; | |
6 | |
7 void | |
8 foo () | |
9 { | |
10 #pragma omp parallel firstprivate (A) // { dg-error "is not a variable in clause" } | |
11 ; | |
12 #pragma omp parallel firstprivate (B<0>) // { dg-error "is not a variable in clause" } | |
13 ; | |
14 } |