summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/cast1.C
blob: ab27e65fe7a8320028f3d7e289633f3894d8a6cb (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

template <class T>
void f (T t) {
  const_cast<T>(t);
}