(root)/
binutils-2.41/
ld/
testsuite/
ld-plugin/
lto-19a.c
       1  #include <stdio.h>
       2  #include <stdlib.h>
       3  #include "lto-19.h"
       4  
       5  static const int utf8_sb_map[4] = { 0x12, 0x34, 0x56, 0x78 };
       6  
       7  struct re_dfa_t *
       8  rpl_regcomp ()
       9  {
      10    struct re_dfa_t *dfa = malloc (sizeof (struct re_dfa_t));
      11    dfa->sb_char = utf8_sb_map;
      12    return dfa;
      13  }
      14  
      15  void
      16  rpl_regfree (struct re_dfa_t *dfa)
      17  {
      18    puts (dfa->sb_char == utf8_sb_map ? "PASS" : "FAIL");
      19  }