summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/template1.C
blob: 279b4b17337c58ab8d00afdcce0e8da39874ec75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/5118

template <int Count>
class d
{
public:
  d() 
  { 
        myInt = Count;
  }
  int myInt;
  virtual ~d() {}
};

volatile d<5> instD;