Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr91118-2.C
blob: 80f1e3e45c4260ce86d6d9e501cdb75729c7912a [
file
] [
log
] [
blame
]
// PR c++/91118
// { dg-do compile }
#include
<typeinfo>
struct
S
{
virtual
~
S
();
};
void
bar
(
const
std
::
type_info
&,
const
std
::
type_info
&);
void
foo
(
S
*
p
)
{
#pragma
omp parallel
default
(
none
)
firstprivate
(
p
)
bar
(
typeid
(*
p
),
typeid
(
S
));
}