Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
conv15.C
blob: 2f61c11356448a562bade2500e9ac9676e7a8f89 [
file
] [
log
] [
blame
]
// PR c++/86219
template
<
int
a
>
struct
t
;
template
<
int
a
>
void
f
()
{
const
int
b
=
""
;
// { dg-error "conversion" }
t
<b>
::
c
;
// { dg-error "constant" }
// { dg-prune-output "template argument 1 is invalid" }
}