summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/pr22220main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-plugin/pr22220main.cc')
-rw-r--r--ld/testsuite/ld-plugin/pr22220main.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/pr22220main.cc b/ld/testsuite/ld-plugin/pr22220main.cc
new file mode 100644
index 00000000000..38c206f7a23
--- /dev/null
+++ b/ld/testsuite/ld-plugin/pr22220main.cc
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include "pr22220.h"
+
+int main()
+{
+ if (boo() == goo())
+ {
+ printf ("PASS\n");
+ return 0;
+ }
+ return 1;
+}