summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20010604-1.c
blob: e0deaf524f0766588c1275cc55acad53a168b246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdbool.h>

int f (int a, int b, int c, _Bool d, _Bool e, _Bool f, char g)
{
  if (g != 1 || d != true || e != true || f != true) abort ();
  return a + b + c;
}

int main (void)
{
  if (f (1, 2, -3, true, true, true, '\001'))
    abort ();
  exit (0);
}