summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-24 21:09:18 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-25 13:41:56 (GMT)
commit9ca7adb97a74063237553a0831498426b56a4b9b (patch)
tree78d7ded439c582fcb2bb6649097d34122a0e65cd /test
parent9c573f8c437f4ab83e7eefc76df2076345a667fa (diff)
downloadCastXML-9ca7adb97a74063237553a0831498426b56a4b9b.zip
CastXML-9ca7adb97a74063237553a0831498426b56a4b9b.tar.gz
CastXML-9ca7adb97a74063237553a0831498426b56a4b9b.tar.bz2
test: Fix Function-template source to return from start
Fix the start() function in test/input/Function-template.cxx to actually return a value from its implementation.
Diffstat (limited to 'test')
-rw-r--r--test/input/Function-template.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/input/Function-template.cxx b/test/input/Function-template.cxx
index b501b82..cd4b913 100644
--- a/test/input/Function-template.cxx
+++ b/test/input/Function-template.cxx
@@ -1,3 +1,3 @@
-template <typename T> T start(T) {}
+template <typename T> T start(T) { return T(); }
template <> char start<char>(char); // specialization
template int start<int>(int); // instantiation