summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/array4.C
blob: c72782b10ee32bf92aaeee57de870e07a621c944 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/14122

extern const char str[];

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

template class A<str>;