summaryrefslogtreecommitdiffstats
path: root/test cases/unit/10 build_rpath/prog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/10 build_rpath/prog.cc')
-rw-r--r--test cases/unit/10 build_rpath/prog.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/unit/10 build_rpath/prog.cc b/test cases/unit/10 build_rpath/prog.cc
new file mode 100644
index 0000000..c7c2123
--- /dev/null
+++ b/test cases/unit/10 build_rpath/prog.cc
@@ -0,0 +1,8 @@
+#include <string>
+#include <iostream>
+
+int main(int argc, char **argv) {
+ std::string* s = new std::string("Hello");
+ delete s;
+ return 0;
+}