aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/address-constant.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/address-constant.c')
-rw-r--r--test/Sema/address-constant.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/address-constant.c b/test/Sema/address-constant.c
index 0b451cc39c..e1704b8b0e 100644
--- a/test/Sema/address-constant.c
+++ b/test/Sema/address-constant.c
@@ -5,3 +5,6 @@ int a[] = {0};
struct { int i; } s;
int *array[] = {&i, a, &s.i};
+
+extern void f(void);
+void (*f_addr)(void) = &f;