Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash53.C
blob: 2a55943dd65eb518351fcf689f23d9564dd92e9c [
file
] [
log
] [
blame
]
// PR c++/28110
// { dg-do compile }
template
<int>
struct
A
{};
template
<
typename
T
>
struct
B
{
template
<
T I
>
B
(
A
<
I
>);
// { dg-error "" }
};
B
<double>
a
=
A
<
0
>();
// { dg-error "non-scalar type" }