On Thu, 15 Aug 2024, Jakub Jelinek wrote: > +#embed __FILE__ gnu::base64(1) prefix() suffix() /* { dg-error "expected > character string literal" } */ > +#embed __FILE__ gnu::base64() prefix() suffix() /* { dg-error "expected > character string literal" } */
Maybe also test this error with a non-character string literal (a wide string, etc.). I think the code will already correctly reject wide strings here, but it would be good to test it. -- Joseph S. Myers josmy...@redhat.com