summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/static12.C
blob: 7c3948947f0c127b1498fd35330e5f3a993586b2 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// Origin: Jason Merrill <jason@redhat.com>

int main ()
{
  static const int n = 10;
  static const int *p = &n;
}