Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-27.C
blob: 91208abf90eb9671f93b0fee4c33af85204bdca9 [
file
] [
log
] [
blame
]
// Origin: PR c++/54875
// { dg-do compile { target c++11 } }
template
<
typename
T
>
using
AddConst
=
T
const
;
enum
FwdEnum
:
int
;
int
main
()
{
AddConst
<
FwdEnum
>
*
ptr
=
nullptr
;
}