Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist97.C
blob: be474155a3a922de8630c9bb2d2bf38444ba8154 [
file
] [
log
] [
blame
]
// PR c++/77752
// { dg-do compile { target c++11 } }
namespace
std
{
class
initializer_list
;
// { dg-error "declaration" }
}
void
f
(
std
::
initializer_list l
)
{
f
({
2
});
}
// { dg-error "incomplete type" }