summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/ref20.C
blob: b64cb57e09d06392f566137ceb9f050d83cc0d4a (plain)
1
2
3
4
5
6
7
8
// PR c++/50787
// { dg-do run }

int main() {
  const int Ci = 0;
  const int &rCi = Ci;
  if (!(&Ci == &rCi)) __builtin_abort();
}