summaryrefslogtreecommitdiff
path: root/test/dot_s/indirect-import.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s/indirect-import.c')
-rw-r--r--test/dot_s/indirect-import.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/dot_s/indirect-import.c b/test/dot_s/indirect-import.c
index 006424d84..679d862c7 100644
--- a/test/dot_s/indirect-import.c
+++ b/test/dot_s/indirect-import.c
@@ -23,5 +23,9 @@ intptr_t bar() {
ijidf(1LL, 2, 3.0, 4.0f);
void (*vs)(struct big) = &extern_struct;
struct big (*s)(void) = &extern_sret;
- return (intptr_t)fd;
+ return (intptr_t)fd;
+}
+
+intptr_t baz() {
+ return (intptr_t)extern_v;
}