summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/template21.C
blob: e1ac76916e7bbf013a01efcd65b8dce544d82b4e (plain)
1
2
3
4
5
// PR c++/28211

template <const int*> class Helper { };
const int foo = 0;
typedef Helper<&foo> HelperType; // { dg-error "linkage|type" }