summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/ref1.C
blob: 12caff2d0ed3a6232346b69ed532f5fd1b64fa88 (plain)
1
2
3
4
5
void f(void)
{
  short x = 0;
  const int &y = x;
}