aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-class.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2008-11-14 23:42:31 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2008-11-14 23:42:31 +0000
commit669d5d74b880a8497b92a3ec159145713f4d6519 (patch)
treef6fddd3509e79e293d0d58c454ec569d3d3d3378 /test/Parser/cxx-class.cpp
parentb0b847e8399898ce41116a32a76790caa4c3c19d (diff)
Implement parsing and semantic checking of the 'mutable' keyword.
Thanks to Doug for the review. Actual effects of mutable to follow. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-class.cpp')
-rw-r--r--test/Parser/cxx-class.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Parser/cxx-class.cpp b/test/Parser/cxx-class.cpp
index ef0c901dfa..5afa8d6ac2 100644
--- a/test/Parser/cxx-class.cpp
+++ b/test/Parser/cxx-class.cpp
@@ -21,6 +21,7 @@ private:
int x,f(),y,g();
inline int h();
static const int sci = 10;
+ mutable int mi;
};
void glo()
{