summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/ctor3.C
blob: 1678aaf2c4d27028458589509ee0c9d3e423a6c5 (plain)
1
2
3
4
5
6
// PR c++/14401

struct S {
  S() {} // { dg-error "" }
  const int i;
};