repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libstdc++: [_Hashtable] Fix some implementation inconsistencies
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-71.C
blob
6a61f93a0b0a9d83bf9219aa508954b7b05007a8
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&;