Sign in
llvm
/
llvm-archive
/
cfaec05de39adb34392b8c7b1ad4b32abbf3663d
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
template
/
complit2.C
blob: cf3856d474e799bf4f8dee408df764ca4805937e [
file
] [
log
] [
blame
]
// PR c++/31038
// { dg-options "" }
template
<int>
void
foo
()
{
int
i
=
(
int
)
{
0
};
}
template
void
foo
<
0
>();
int
f
();
template
<int>
void
bar
()
{
int
i
=
(
int
)
{
f
()
};
}
template
void
bar
<
0
>();