blob: 403ff52e83ee935c3e5c4ddadcc5748400fc368a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// PR c++/26690
// { dg-do compile }
struct A // { dg-message "A::A|candidate expects" }
{
A (int); // { dg-message "note" }
};
void
foo ()
{
A a(0);
#pragma omp parallel private (a) // { dg-error "no matching function" }
;
}
|