aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/template17.C
blob: e6c2652dce52eada1b21d07553a72759197bb763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link: 
// GROUPS passed templates
struct Regex { int i; Regex(char *, int); };
template<class KEY>
class NDAMName {
public:
    static const Regex pattern;
    static unsigned sequence_number;
};

const Regex NDAMName<'L'>::pattern("^[Ll](.*)$",   1);// ERROR -  type/value.*
unsigned NDAMName<'L'>::sequence_number = 0;// ERROR -  type/value