https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66643
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Created attachment 37610 [details] > A preliminary patch > > Attached patch gives a diagnostic. Interestingly I found three test cases > in the test suite that use the invalid construct. Works as expected without regression.