http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52036
Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |richard-gccbugzilla@metafoo | |.co.uk --- Comment #8 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> --- C++11 [temp.arg.nontype]p2 has another similar testcase, which GCC fails on: template<class T, const char* p> class X { /* ... */ }; X<int, "Studebaker"> x1; // error: string literal as template-argument const char p[] = "Vivisectionist"; X<int,p> x2; // OK