File: macro-arg-overrides-define

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 (5 lines) | stat: -rw-r--r-- 160 bytes parent folder | download
1
2
3
4
5
// This should produce THIS_IS_THE_MACRO_ARG and not THIS_IS_THE_DEFINE.
#define x THIS_IS_THE_DEFINE
#define b(x) x
#define z(x) b(x)
z(THIS_IS_THE_MACRO_ARG)