summaryrefslogtreecommitdiffstats
path: root/tests/preprocessor/repeated-macro-expansion.slang
blob: c421289330b075fdec4edc287fd3d8223066ba2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// macro-expansion.slang
//
//TEST:SIMPLE:

// Test a bug where macro expansion isn't being
// triggered for back-to-back uses of a function-like
// macro.

#define IGNORE(THING) /* empty */

void test()
{
	IGNORE(badStuff)
	IGNORE(moreBad)
	;
}