Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
packed1.C
blob: c4be930bc19e27852fef5de9f3cee16f039e27eb [
file
] [
log
] [
blame
]
// PR c++/91877 - ICE with converting member of packed struct.
// { dg-do compile { target c++11 } }
// { dg-options "-fpack-struct" }
template
<
typename
a
>
class
b
{
public
:
b
(
const
a
&);
};
struct
{
int
*
c
;
}
d
;
void
e
()
{
b
<
const
int
*>(
d
.
c
);
}