Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array2.C
blob: 9577f75d9fd89cf0d8fcd7ae9afcc98503e89383 [
file
] [
log
] [
blame
]
// PR c++/46348
// { dg-options -std=c++0x }
template
<
__SIZE_TYPE__
_Nw
>
struct
_Base
{
typedef
unsigned
long
_WordT
;
_WordT
_M_w
[
_Nw
];
constexpr
_Base
()
:
_M_w
()
{
}
};
int
main
()
{
_Base
<
256
>
bs
;
}