about summary refs log tree commit diff
path: root/elf/tst-secondary3.c
blob: b55baea6d6ca31a0e8a272607e57981a4148c01d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Verify that weak function is called.  */

#include "tst-secondary.h"

extern int bar (void);
extern void foo (void);

int
main (void)
{
  foo ();
  return bar () != WEAK;
}