aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/alias-decl-35.C
blob: f412b302d06d4d319af923ee1d79f2e625adc868 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/57279
// { dg-require-effective-target c++11 }

typedef void fc1() const; // OK
typedef void frr1() &&; // OK
typedef void fcr1() const &;
using fc2 = void() const; // #4
using frr2 = void() &&; // OK
using fcr2 = void() const &; // #6