Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr26690-2.C
blob: ec93cd11a248b5d373caa05f3a66a570e5ca5697 [
file
] [
log
] [
blame
]
// PR c++/26690
// { dg-do compile }
struct
A
{
A
(
int
x
=
6
);
// { dg-message "A::A\\(int\\)" }
A
(
long
long
x
=
12LL
);
// { dg-message "note" }
};
void
foo
()
{
A a
(
6
);
#pragma
omp parallel
private
(
a
)
// { dg-error "call of overloaded" }
;
}