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

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