summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/unwind/standard/hand_written/divmod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/unwind/standard/hand_written/divmod.cpp')
-rw-r--r--lldb/test/functionalities/unwind/standard/hand_written/divmod.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/lldb/test/functionalities/unwind/standard/hand_written/divmod.cpp b/lldb/test/functionalities/unwind/standard/hand_written/divmod.cpp
new file mode 100644
index 00000000000..75df6ba8937
--- /dev/null
+++ b/lldb/test/functionalities/unwind/standard/hand_written/divmod.cpp
@@ -0,0 +1,15 @@
+//===-- divmod.cpp ----------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+int
+main(int argc, char const *argv[])
+{
+ signed long long a = 123456789, b = 12, c = a / b, d = a % b;
+ unsigned long long e = 123456789, f = 12, g = e / f, h = e % f;
+}
OpenPOWER on IntegriCloud