summaryrefslogtreecommitdiffstats
path: root/test/Coverage/cxx-language-features.inc
blob: 51c11046a84c6444ee14f464e03079021de88049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//-*- C++ -*-

// Intended to exercise all syntactic parts of the C++ language that
// aren't part of C.

namespace std {
  namespace debug {
  }
}

using namespace std::debug;
using namespace std;

namespace safestl = ::std::debug;

class Base1 { 
};

class Base2 { };

class Derived1 : Base1, virtual public Base2 { };
OpenPOWER on IntegriCloud