summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/ref13.C
blob: 6be57aa2eca8f4a33362d973dc8ea122eb129091 (plain)
1
2
3
4
5
6
7
// PR c++/28338

void foo()
{
  { static const int& i = 0; }
  { static const int& i = 0; }
}