summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr43880.C
blob: bf82bc54bc668e407f8959b486dcbe934803fe25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do compile }

extern void xread(void *);
class test
{
public:
    test(void);
};
test::test(void)
{
  union {
      char pngpal[1];
  };
  xread(pngpal);
}