summaryrefslogtreecommitdiffstats
path: root/test/input/OperatorMethod.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-26 19:43:37 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-21 21:04:46 (GMT)
commit55269737375c2168ac991e05f3fcd3777e4058b9 (patch)
tree9d28cbe52eb32780b76e3992ab7f0b50718a58ec /test/input/OperatorMethod.cxx
parent3edc5417f57d93f4a21ad185699e37c20576e71e (diff)
downloadCastXML-55269737375c2168ac991e05f3fcd3777e4058b9.zip
CastXML-55269737375c2168ac991e05f3fcd3777e4058b9.tar.gz
CastXML-55269737375c2168ac991e05f3fcd3777e4058b9.tar.bz2
test: Add cases for Method, OperatorMethod, and OperatorFunction
Use operator name "<<" and verify that the word "operator" does not appear in the name as is the case in original gccxml.
Diffstat (limited to 'test/input/OperatorMethod.cxx')
-rw-r--r--test/input/OperatorMethod.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/input/OperatorMethod.cxx b/test/input/OperatorMethod.cxx
new file mode 100644
index 0000000..36a76c2
--- /dev/null
+++ b/test/input/OperatorMethod.cxx
@@ -0,0 +1,3 @@
+class start {
+ start& operator<<(int);
+};