summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/rv-cast.C
blob: 48b7c13ba59a4cd6f1f7c8eca791b7e4f7833c0c (plain)
1
2
3
4
5
6
// { dg-options "-std=c++0x" }

void f(int i)
{
  int&& r = static_cast<int&&>(i);
}