aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/types/recursive_type_2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/types/recursive_type_2.cpp')
-rw-r--r--packages/Python/lldbsuite/test/types/recursive_type_2.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/types/recursive_type_2.cpp b/packages/Python/lldbsuite/test/types/recursive_type_2.cpp
new file mode 100644
index 000000000000..304739049a06
--- /dev/null
+++ b/packages/Python/lldbsuite/test/types/recursive_type_2.cpp
@@ -0,0 +1,10 @@
+typedef struct t *tp;
+typedef tp (*get_tp)();
+
+struct t {
+ struct {
+ get_tp get_tp_p;
+ };
+};
+
+struct t t;