
- 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.
16 lines
315 B
Systemverilog
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.
|