* doc/emacs/emacs.texi (Intro): Workaround makeinfo 4 @acronym bug.
[emacs/old-mirror.git] / test / cedet / tests / testsppcomplete.c
blobd78999422853c429d3d26df689e0147ee3dd5240
1 /* Example provided by Hannes Janetzek */
3 struct Test { int test; };
5 #define BLA(_type) \
6 _type *bla = (_type*) malloc(sizeof(_type));
8 #define BLUB(_type) \
9 (_type*)malloc(sizeof(_type));
11 #define FOO(_type) \
12 _type *foo = BLUB(_type);
14 #define BAR(_type) \
15 _type *bar = (*_type)BLUB(_type);
17 int main(int argc, char *argv[]) {
18 BLA(Test);
19 bla->// -1-
20 ; // #1# ( "test" )
22 FOO(Test);
23 foo->// -2-
24 ; // #2# ( "test" )
26 BAR(Test);
27 bar->// -3-
28 ; // #3# ( "test" )