File: concat-operator-stacked-override

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 (7 lines) | stat: -rw-r--r-- 172 bytes parent folder | download
1
2
3
4
5
6
7
// This should produce "RIGHT" and not "WRONG"
#define WR RI
#define ONG GHT
#define REPLACE(WR, ONG) WR##ONG
#define REPLACE2(WR, ONG) REPLACE(WR, ONG)
REPLACE2(WR, ONG)