summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/def2.cc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuite/dwz.tests/def2.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/def2.cc b/testsuite/dwz.tests/def2.cc
new file mode 100644
index 0000000..794933f
--- /dev/null
+++ b/testsuite/dwz.tests/def2.cc
@@ -0,0 +1,9 @@
+#include "def.h"
+
+ao_ref *p2;
+
+void
+foo (void)
+{
+ p2 = new ao_ref;
+}