summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/const1.C
blob: 995f466fec41ff8fdbd55a0464afbd3f4d9dff37 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }

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