• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2011 Google Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
the_static_function()5 static void the_static_function() {}
the_used_function()6 __attribute__((used)) void the_used_function() {}
7 
8 __attribute__((visibility("hidden"))) __attribute__((used))
the_hidden_function()9     void the_hidden_function() {}
10 __attribute__((visibility("default"))) __attribute__((used))
the_visible_function()11     void the_visible_function() {}
12 
13 extern const int eci;
14 __attribute__((used)) int i;
15 __attribute__((used)) const int ci = 34623;
16 
the_function()17 void the_function() {
18   the_static_function();
19   the_used_function();
20   the_hidden_function();
21   the_visible_function();
22 }
23