diff options
Diffstat (limited to 'test/Coverage/cxx-language-features.inc')
-rw-r--r-- | test/Coverage/cxx-language-features.inc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/Coverage/cxx-language-features.inc b/test/Coverage/cxx-language-features.inc new file mode 100644 index 000000000000..51c11046a84c --- /dev/null +++ b/test/Coverage/cxx-language-features.inc @@ -0,0 +1,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 { }; |