summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p8269.C
blob: 3b97d1e8be49ca9fbc148a639cf8be9fee89cafd (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// prms-id: 8269

typedef char* const char_ptr;

class Foo_Bar {
public:
  static char* const counter;
};

char_ptr Foo_Bar::counter = 0;