Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
&;