summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/tests/089-redefine-macro-error.c
blob: b3d1391e1601ddfc0192949e958f9ffcb831fb66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define x y
#define x z

#define abc 123
#define abc() 123

#define foo() bar
#define foo(x) bar

#define bar() baz
#define bar baz

#define biff(a,b) a+b
#define biff(a,b,c) a+b

#define oper(a,b) a+b
#define oper(a,b) a*b