Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-71.C
blob: 6a61f93a0b0a9d83bf9219aa508954b7b05007a8 [
file
] [
log
] [
blame
]
// PR c++/100592
// { dg-do compile { target c++11 } }
template
<bool>
struct
meta
{
template
<class>
using
if_c
=
int
&;
};
template
<
bool
B
>
typename
meta
<
B
>::
template
if_c
<void>
const
f
();
using
type
=
decltype
(
f
<true>
());
using
type
=
int
&;