summaryrefslogtreecommitdiffstats
path: root/binutils-2.24/ld/testsuite/ld-plugin/pr12942a.h
blob: 760929b1119fe5530f0590a846db248182ac9bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extern void link_error ();

inline int test (void)
{
  int exp = -1;
  if ((exp < 2 ? 2U : (unsigned int) exp) != 2)
    link_error ();

  return 0;
}

typedef int (*test_t) (void);