https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71586

--- Comment #1 from M K <gnubugzi...@martin-kaesberger.de> ---
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) <near match>
 void foo(a e) { }
      ^
main.cpp:4:6: note:   conversion of argument 1 would be ill-formed:
main.cpp:5:6: note: candidate: void foo(b) <near match>
 void foo(b e) { }
      ^
main.cpp:5:6: note:   conversion of argument 1 would be ill-formed:

Reply via email to