aboutsummaryrefslogtreecommitdiffstats
path: root/test/clightgen/annotations.c
blob: e91c7fbcc37c32f6913ef62bc39b55e99b797bcf (plain)
1
2
3
4
5
6
7
8
int f(int x, long y)
{
#if !defined(SYSTEM_macosx) && !defined(SYSTEM_cygwin)
  __builtin_ais_annot("x is %e1, y is %e2", x, y);
#endif
  __builtin_annot("x is %1, y is %2", x, y);
  return __builtin_annot_intval("x was here: %1", x);
}