summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/pr39188-1b.C
blob: 71c99263787639c219e64d32a84fbc2f70b5c060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "pr39188-1.h"

extern "C" void abort ();

extern int x (int);

int
main (void)
{
  if (x (1) != 0)
    abort ();
  if (f (1) != 1)
    abort ();
  return 0;
}