damc ab4845a964 ppTests Avoid removal of undef and undefineall directives.
- Similarly to how `define is left in-place, `undef and `undefine are also
  left in-place.
- Corresponding fixes to macro_LINE and macro_FILE.
- These directives were not in any testcases before this branch.
2022-07-26 13:10:52 +02:00

16 lines
315 B
Systemverilog

// __FILE__ = `__FILE__
// This block SHOULD be emitted from the preprocessor.
// Emitted instead.
// The following define should have no effect.
`define __FILE__ "FOO"
// The following undef should have no effect.
`undef __FILE__
// NOTE: Comparison against expected value are destined to fail in testcase.