blob: ed465c38cbbe3d1ce4a252280a755f253c3b6676 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//DIAGNOSTIC_TEST:SIMPLE:-E
// If a macro can take a single parameter, it is valid to pass in 'nothing'.
// Old Slang outputs an error about the wrong amount of parameters
// Correct output: a b
#define A(x) a x b
A()
|