summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/vtable1.C
blob: fc07a9ea5b8d3d552813c9c891be4a886ef3ac82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do link  }
// { dg-options "-fno-implement-inlines " }
struct type {
  virtual void m1();
  virtual void m2() { }
};

void type::m1() { }

int main() {
  type t;
}