Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / init4.C
blobf877f2a87d2069fdcabe9bcfa8153b5abb71a1ed
1 // { dg-do assemble  }
3 class error {
4 public:
5   error(int) {}
6 };
8 class foo {
9   const error x = 1; // { dg-error "" } initialization of non-static data member