File: nested-macro-args

package info (click to toggle)
mojoshader 0.0~hg1314%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,136 kB
  • sloc: ansic: 50,797; perl: 151; sh: 17; makefile: 11
file content (6 lines) | stat: -rw-r--r-- 105 bytes parent folder | download
1
2
3
4
5
6
/* This should produce "RIGHT" instead of "WRONG" */
#define x(a) a
#define y(WRONG) x(WRONG)

y(RIGHT)