diff options
Diffstat (limited to 'test/Parser/cxx-class.cpp')
-rw-r--r-- | test/Parser/cxx-class.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/Parser/cxx-class.cpp b/test/Parser/cxx-class.cpp index 6d030bdc57..ef0c901dfa 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 @@ public: 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 {}; +} |