Add execution tests of ARM EXT intrinsics
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / ref-qual6.C
blob02e3f6e683eb1f87faa68e7dcde75129638f0796
1 // Binding an rvalue to && beats binding it to const& (13.3.3.2).
3 // { dg-require-effective-target c++11 }
5 struct A
7   int operator+(int) &&;
8 };
10 void operator+ (const A&, int);
12 int main()
14   return A() + 42;