Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/alias-decl-68.C

raw
1 // PR c++/77967
2 // { dg-do compile { target c++11 } }
3
4 template<typename T>
5 using bar = const T&;
6
7 template<typename T>
8 bar<T>::bar(const T& cr) // { dg-error "" }
9 {
10 }