summaryrefslogtreecommitdiffstats
path: root/lldb/lit/Expr/Inputs/basic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/Expr/Inputs/basic.cpp')
-rw-r--r--lldb/lit/Expr/Inputs/basic.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/lit/Expr/Inputs/basic.cpp b/lldb/lit/Expr/Inputs/basic.cpp
new file mode 100644
index 00000000000..80a79379a2e
--- /dev/null
+++ b/lldb/lit/Expr/Inputs/basic.cpp
@@ -0,0 +1,12 @@
+class Patatino {
+private:
+ long tinky;
+
+public:
+ Patatino(long tinky) { this->tinky = tinky; }
+};
+
+int main(void) {
+ Patatino *a = new Patatino(26);
+ return 0;
+}
OpenPOWER on IntegriCloud