Update C++ status to reflect parser capabilities for chapter 9 (classes). Slightly extend the class parser test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58909 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/cxx-class.cpp b/test/Parser/cxx-class.cpp
index 6d030bd..ef0c901 100644
--- a/test/Parser/cxx-class.cpp
+++ b/test/Parser/cxx-class.cpp
@@ -1,4 +1,5 @@
-// RUN: clang -parse-noop -verify %s
+// RUN: clang -parse-noop -verify %s
+class C;
class C {
public:
protected:
@@ -14,7 +15,14 @@
void m() {
int l = 2;
}
+ virtual int vf() const volatile = 0;
private:
int x,f(),y,g();
+ inline int h();
+ static const int sci = 10;
};
+void glo()
+{
+ struct local {};
+}