https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70448
rippey.e at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rippey.e at gmail dot com --- Comment #5 from rippey.e at gmail dot com --- I also ran into this on g++ 6.1.0 with the following code: template<int> void f(){} enum{n=f};