Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/conv-tmpl1.C

raw
1 // PR c++/91465 - ICE with template codes in check_narrowing.
2 // { dg-do compile { target c++17 } }
3
4 enum class E { Z };
5
6 template <typename F>
7 void foo(F)
8 {
9 E{char(0)};
10 }