aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/defsym_test.c
blob: 0bf68b21b1e8f81b17137c8e31d8384039b2124b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

void foo (void) __attribute__ ((noinline, visibility ("hidden")));

void foo (void) {
  printf("foo called.\n");
}

void bar(void);

int main(void) {
  foo();
  bar();
  return 0;
}