aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/C++Frontend/2003-11-25-ReturningOpaqueByValue.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/C++Frontend/2003-11-25-ReturningOpaqueByValue.cpp b/test/C++Frontend/2003-11-25-ReturningOpaqueByValue.cpp
new file mode 100644
index 0000000000..bbe08378a9
--- /dev/null
+++ b/test/C++Frontend/2003-11-25-ReturningOpaqueByValue.cpp
@@ -0,0 +1,10 @@
+#include <vector>
+std::vector<int> my_method ();
+
+int
+main ()
+{
+ my_method ();
+ return 0;
+}
+