summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/refs2.C
blob: 74bc97225eba4e93ae70fbf48240fa1d613ccd7e (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// GROUPS passed references
int func(int& i)
{
  static int& v = i;
  return v;
}

int main()
{
}