aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/pr10728-x.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/pr10728-x.cc')
-rw-r--r--gdb/testsuite/gdb.cp/pr10728-x.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/pr10728-x.cc b/gdb/testsuite/gdb.cp/pr10728-x.cc
new file mode 100644
index 0000000..7623c0b
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr10728-x.cc
@@ -0,0 +1,7 @@
+#include "pr10728-x.h"
+
+int main()
+{
+ X* x = y();
+ return 0; // marker 1
+}