Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
);
}