summaryrefslogtreecommitdiffstats
path: root/Tests/InterfaceLinkLibrariesDirect/static_A_public.c
blob: ed88ca61d2473b71b8a64f20d1d0653c510b30a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef DEF_DIRECT_FROM_A
#  error "DEF_DIRECT_FROM_A incorrectly not defined"
#endif
#ifdef DEF_DIRECT_FROM_A_FOR_EXE
#  error "DEF_DIRECT_FROM_A_FOR_EXE incorrectly defined"
#endif
#ifdef DEF_DIRECT_FROM_A_OPTIONAL
#  error "DEF_DIRECT_FROM_A_OPTIONAL incorrectly defined"
#endif

extern void a_always(void);

void static_A_public(void)
{
  a_always();
}