aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/init/copy7.C
blob: 655fae21e66e876767275e45346492b0893fd195 (plain)
1
2
3
4
5
6
7
8
9
// CWG 5

struct C { };
C c;
struct A {
  A(const A&);
  A(const C&);
};
const volatile A a = c;    // Okay