summaryrefslogtreecommitdiffstats
path: root/testsuite/test02.c
blob: 15fe4147459da1927a5056696aada8e5176c460b (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "lib02.h"
#include <stdlib.h>

int main()
{
  if (foo.a != 1 || foo.b != &foo || foo.c != &bar || bar != 26)
    abort ();
  if (f1 () != 11 || f2 () != 12)
    abort ();
  exit (0);
}