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); }