summaryrefslogtreecommitdiffstats
path: root/test/Modules/Inputs/macros.h
blob: a0ae7a3158220ed38d470f768d414b0dbe74dc50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#define MODULE
#define INTEGER(X) int
#define FLOAT float
#define DOUBLE double

#__public_macro INTEGER
#__private_macro FLOAT
#__private_macro MODULE

int (INTEGER);

#if !__building_module(macros)
#  error Can't include this header without building the 'macros' module.
#endif

#ifdef __MODULE__
extern int __MODULE__;
#endif

#include "macros-indirect.h"
OpenPOWER on IntegriCloud