summaryrefslogtreecommitdiff
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-25 08:45:38 +0000
committerChris Lattner <sabre@nondot.org>2003-11-25 08:45:38 +0000
commitf7d10b7f86c2786d1c36b8dd60cd6fb4c689756e (patch)
tree01abb103acbe9d42fe534efd946ca10ba16daf84 /test/C++Frontend
parentedaa67446c3e44f195e25405da9f05d6a1ba9b45 (diff)
downloadllvm-f7d10b7f86c2786d1c36b8dd60cd6fb4c689756e.tar.gz
llvm-f7d10b7f86c2786d1c36b8dd60cd6fb4c689756e.tar.bz2
llvm-f7d10b7f86c2786d1c36b8dd60cd6fb4c689756e.tar.xz
testcase for PR 148
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-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;
+}
+