summaryrefslogtreecommitdiff
path: root/t/t4018/cpp-function-returning-reference
diff options
context:
space:
mode:
Diffstat (limited to 't/t4018/cpp-function-returning-reference')
-rw-r--r--t/t4018/cpp-function-returning-reference5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4018/cpp-function-returning-reference b/t/t4018/cpp-function-returning-reference
new file mode 100644
index 0000000000..29e2bd4632
--- /dev/null
+++ b/t/t4018/cpp-function-returning-reference
@@ -0,0 +1,5 @@
+string& get::it::RIGHT(char *ptr)
+{
+ ChangeMe;
+ broken;
+}