aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/bind.C
blob: 9b7ce7dc0b9e3b01c0692b5c8ebfb40827506268 (plain)
1
2
3
4
5
6
7
8
// { dg-do compile { target c++11 } }
struct S{};
void f(S&&);

int main()
{
  f(S());
}