* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / vaarg4.C
blob9ea165bda74f738e96c8a808a97238e3c1372959
1 // { dg-do assemble  }
2 // { dg-options "-Wno-abi" { target arm_eabi } }
4 // Bug 845. We were treating __builtin_va_arg as a unary expr, not a primary,
5 // and hence getting parse errors.
7 typedef __builtin_va_list __gnuc_va_list;
8 typedef __gnuc_va_list va_list;
10 struct X { int y; };
12 void func(va_list va)
14   char* a = __builtin_va_arg(va, char**)[0];
15   int b = __builtin_va_arg(va, X*)->y;