Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash108.C
blob: 3ffadc14c256cac39733a9a59c607e026bd69d23 [
file
] [
log
] [
blame
]
// PR c++/50861
template
<
class
T
>
struct
A
{
A
(
int
b
=
k
(
0
));};
// { dg-error "not declared" }
// { dg-error "that depend on a template parameter" "" { target *-*-* } .-1 }
void
f
(
int
k
){
A
<int>
a
;}