Debian Codegraph @

gcc/testsuite/g++.dg/conversion/packed1.C

raw
1 // PR c++/91877 - ICE with converting member of packed struct.
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-fpack-struct" }
4
5 template <typename a> class b {
6 public:
7 b(const a &);
8 };
9 struct {
10 int *c;
11 } d;
12 void e() { b<const int *>(d.c); }