Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
conv-tmpl1.C
blob: 5b1205349d01ab54f3bcb9398671b8e3bcad710f [
file
] [
log
] [
blame
]
// PR c++/91465 - ICE with template codes in check_narrowing.
// { dg-do compile { target c++17 } }
enum
class
E
{
Z
};
template
<
typename
F
>
void
foo
(
F
)
{
E
{
char
(
0
)};
}