summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/opt/interface2.h
blob: dc0590472303af5859b4e1f35ac189f2b0e36199 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma interface

template<class T>
struct C
{
  explicit C(const T& t) : a(t) { }
  virtual ~C() { }
  T a;
};