Debian Codegraph @

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

raw
1 // PR c++/100592
2 // { dg-do compile { target c++11 } }
3
4 template<bool>
5 struct meta {
6 template<class> using if_c = int&;
7 };
8
9 template<bool B>
10 typename meta<B>::template if_c<void> const f();
11
12 using type = decltype(f<true>());
13 using type = int&;