http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51107
--- Comment #1 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2011-11-12 19:10:38 UTC --- As I was testing a patch that turned out to be totally bogus, it looked like maybe processing_template_decl is false when processing a template specialization. Is this true? In fact I know it's true. I can't add a spurious (even literal-allowed) argument list because I'll get error: template-id ‘operator"" _foo<'1'>’ for ‘int operator"" _foo(long double)’ does not match any template declaration But is there a test for when you're looking at a template specialization? Oh well. it doesn't affect this bug. Just curious.