aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/pr22502b.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-plugin/pr22502b.c')
-rw-r--r--ld/testsuite/ld-plugin/pr22502b.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/pr22502b.c b/ld/testsuite/ld-plugin/pr22502b.c
new file mode 100644
index 0000000..87389b9
--- /dev/null
+++ b/ld/testsuite/ld-plugin/pr22502b.c
@@ -0,0 +1,3 @@
+extern volatile int x;
+
+void foobar (void) { x--; }