summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/const2.C
blob: 4463b9cc9c3e3fc0de4e6ebc22147c0bc34fc50f (plain)
1
2
3
4
5
// { dg-do assemble  }

struct S {
  static const char* cp = "abc"; // { dg-error "" } initialization of non-const
};