aboutsummaryrefslogtreecommitdiffstats
path: root/test/clightgen/annotations.c
blob: 993fa7d02e9c1aa9c076deb17ab19c53a3325535 (plain)
1
2
3
4
5
6
7
8
int f(int x, long y)
{
#if !defined(SYSTEM_macos) && !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);
}