https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71586
--- Comment #1 from M K ---
the following error occurs:
main.cpp:20:18: error: no matching function for call to 'foo(unsigned char:1&)'
foo(s2.sa); //error
^
main.cpp:4:6: note: candidate: void foo(a)
void foo(a e) {
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gnubugzi...@martin-kaesberger.de
Target Milestone: ---
Created attachment 38727
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38727&action=edit
testcase
When enums are used as bi