summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-pure.C
blob: e17e02a422079ffe6366b9975cb92ff6c900e43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-options -std=c++0x }

struct A
{
  virtual void f() = 0;
};

struct B: A
{
  void f() { }
};

B b;