diff options
author | Brad King <brad.king@kitware.com> | 2014-03-06 19:21:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-24 15:37:20 (GMT) |
commit | 5587f403b1555fa71ea88130852eb6e84df50368 (patch) | |
tree | e53ff7a452f68490c6549205d6e19229267a5ae6 /test/input | |
parent | edeba50dd3c12bae48a2b7b5d059184df54b8a62 (diff) | |
download | CastXML-5587f403b1555fa71ea88130852eb6e84df50368.zip CastXML-5587f403b1555fa71ea88130852eb6e84df50368.tar.gz CastXML-5587f403b1555fa71ea88130852eb6e84df50368.tar.bz2 |
test: Add case for using declaration in derived class
Cover a class that brings overloads from a base through a using
declaration.
Diffstat (limited to 'test/input')
-rw-r--r-- | test/input/using-declaration-class.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/input/using-declaration-class.cxx b/test/input/using-declaration-class.cxx new file mode 100644 index 0000000..7b5ad6b --- /dev/null +++ b/test/input/using-declaration-class.cxx @@ -0,0 +1,8 @@ +class base { +protected: + int f(int); +}; +class start: public base { + using base::f; + int f(char); +}; |