Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }