summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/builtin_constant_p.c
blob: 8b18c8af5b406aa4a710036e7f10c3aaee7cfb12 (plain)
1
2
3
4
5
6
int main (int argc, char *argv[])
{
  static int a[] = { __builtin_constant_p (argc) ? 1 : 0 };
  return a[0];
}