diff options
Diffstat (limited to 'Tests/Visibility/hidden.c')
-rw-r--r-- | Tests/Visibility/hidden.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/Visibility/hidden.c b/Tests/Visibility/hidden.c new file mode 100644 index 0000000..6e97343 --- /dev/null +++ b/Tests/Visibility/hidden.c @@ -0,0 +1,4 @@ +int hidden_function(void) { return 0; } + +__attribute__((visibility("default"))) +int not_hidden(void) { return hidden_function(); } |