summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/plugin/poly-int-06_plugin.c
blob: ee4308c26bf8ea314a735ce5608398ea2cff09d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Not worth spending time optimizing this.  */
/* { dg-options "-O0" } */

#include "config.h"
#include "gcc-plugin.h"
#include "system.h"
#include "coretypes.h"
#include "poly-int-tests.h"

int plugin_is_GPL_compatible;

int
plugin_init (struct plugin_name_args *plugin_info,
	     struct plugin_gcc_version *version)
{
  test_signed_2<int> ();
  test_signed_2<HOST_WIDE_INT> ();
  test_signed_2<offset_int> ();
  test_signed_2<widest_int> ();

  test_ordered_2<unsigned short> ();
  test_ordered_2<unsigned int> ();
  test_ordered_2<unsigned HOST_WIDE_INT> ();

  return 0;
}