aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/alias-decl-28.C
blob: 086b5e54f807926d6461ac512b8010d916c1cffb (plain)
1
2
3
4
5
6
7
// Origin: PR c++/54401
// { dg-do compile { target c++11 } }

template<typename>
struct X {
    using type = T; // { dg-error "expected type-specifier|does not name a type" }
};