summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb48.C
blob: 3b98a3504668f10d9e78f30054a352d8762f0817 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
char *t1 (const char *s)
{
  return const_cast<char *>(s);
}

char *&t1 (const char *&s)
{
  return const_cast<char *&>(s);
}