// PR c++/14122

extern const char str[];

template <const char* P>
struct A
{
  template <const char* R>  void foo();
};

template class A<str>;


syntax highlighted by Code2HTML, v. 0.9.1