summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/flexary24.C
blob: c25e540243a119881cca1960c9c42a2c6c5bc1c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/80179
// { dg-options "" }

struct S {
  int n;
  const char *a[];
};

void bar (const char *a)
{
  static const S t = { 1, { a, "b" } };
}