* doc/extend.texi (Loop-Specific Pragmas): Document pragma GCC unroll.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / gnu-inline-common.h
blob87455ae7a6cb76fb02a7bdb33786af98e91faaff
1 #ifndef gnu
2 # define gnu_inline __attribute__((gnu_inline)) inline
3 #endif
5 #define declspec(spec, name) spec int name (void)
6 #ifdef IN_CLASS
7 # define decl(spec, name)
8 #else
9 # define decl(spec, name) defpfx declspec(spec, name);
10 #endif
11 #define def(spec, name, ret) defpfx declspec(spec, name) { return ret; }
12 #define gnuindef(name, ret) def(gnu_inline, name, ret)
14 #ifndef pfx
15 # ifdef IN_CLASS
16 # define pfx(x) IN_CLASS::x
17 # else
18 # define pfx(x) x
19 # endif
20 #endif
22 #ifndef defpfx
23 # define defpfx
24 #endif