Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
template
/
init1.C
blob: fdbff8d3cb19633ac0bb29b8421486e9b51a7dc3 [
file
] [
log
] [
blame
]
// { dg-do compile }
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// PR c++/9457: ICE tsubst'ing initializers in templates.
template
<typename>
void
foo
(
int
count
)
{
int
i
=
{
count
};
}
template
void
foo
<int>
(
int
);