Add parsing support for C++ classes.

Note that Parser::ParseCXXMemberSpecification is temporarily disabled until the Sema support is in place.
Once ParseCXXMemberSpecification is enabled, the Parser/cxx-class.cpp test will pass.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52694 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/cxx-class.cpp b/test/Parser/cxx-class.cpp
new file mode 100644
index 0000000..f0b419d
--- /dev/null
+++ b/test/Parser/cxx-class.cpp
@@ -0,0 +1,19 @@
+// RUN: clang -parse-noop -verify %s 
+class C {
+public:
+protected:
+  typedef int A,B;
+  static int sf(), u;
+
+  struct S {};
+  enum {};
+  int; // expected-error {{error: declaration does not declare anything}}
+
+public:
+  void m() {
+    int l = 2;
+  }
+  
+private:
+  int x,f(),y,g();
+};