Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array2.C
blob: ad6b12171ae3aa0cbd91e1f139e4746bab766f86 [
file
] [
log
] [
blame
]
// PR c++/46348
// { dg-do compile { target c++11 } }
template
<
__SIZE_TYPE__
_Nw
>
struct
_Base
{
typedef
unsigned
long
_WordT
;
_WordT
_M_w
[
_Nw
];
constexpr
_Base
()
:
_M_w
()
{
}
};
int
main
()
{
_Base
<
256
>
bs
;
}