summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/array7.C
blob: 23c6a7098efd551016c97cb41b05cabb08f3d600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct S {
  virtual void v () {}
  void f (const float g[3]);
  float h[3];
};

void g () {
  S s1, s2;
  s1 = s2;
}

void S::f (const float g[3]) {}