Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;
}