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

--- Comment #3 from bjhend <bjh...@sags-per-mail.de> ---
(In reply to Martin Liška from comment #2)
> Confirmed, all releases I have ICE (4.5.0+).

Hi Martin,

thanks for confirmation. You also added the keyword ice-on-INvalid-code, but I
think the code is valid.

The C++-11 standard, paragraph 14.7.3, clause 5 contains a similar example (see
nested template struct C) with a single element function. Additionally, I
cannot find anything in the text, saying that this code is invalid, but I might
be wrong in interpreting the standard.

Reply via email to