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