Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-54.C
blob: faac46782dd037b92e69bcab18341fa7f8f8f86a [
file
] [
log
] [
blame
]
// PR c++/55992
// { dg-do compile { target c++11 } }
template
<int>
struct
A
{
};
template
<
int
I
>
struct
B
{
static
constexpr
int
f
(
int
i
)
{
return
i
;
}
template
<
int
J
>
using
C
=
A
<
f
(
J
)>;
C
<
I
>
c
;
};