Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Modules/Inputs/macros.h @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
rev | line source |
---|---|
150 | 1 #define MODULE |
2 #define INTEGER(X) int | |
3 #define FLOAT float | |
4 #define DOUBLE double | |
5 | |
6 #__public_macro INTEGER | |
7 #__private_macro FLOAT | |
8 #__private_macro MODULE | |
9 | |
10 int (INTEGER); | |
11 | |
12 #if !__building_module(macros) | |
13 # error Can't include this header without building the 'macros' module. | |
14 #endif | |
15 | |
16 #ifdef __MODULE__ | |
17 extern int __MODULE__; | |
18 #endif | |
19 | |
20 #include "macros-indirect.h" |