Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
bracket1.C
blob: 6f5c2972078786b414ff34d72efb0e76f43e7f40 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
list
{};
template
<
typename
T
>
struct
vector
{
operator
T
()
const
;
};
void
f
()
{
vector
<
vector
<int>
>
v
;
const
vector
<int>
vi
=
static_cast
<
vector
<int>
>(
v
);
}