Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-35.C
1 // PR c++/57279
2 // { dg-require-effective-target c++11 }
3
4 typedef void fc1() const; // OK
5 typedef void frr1() &&; // OK
6 typedef void fcr1() const &;
7 using fc2 = void() const; // #4
8 using frr2 = void() &&; // OK
9 using fcr2 = void() const &; // #6