summaryrefslogtreecommitdiff
path: root/tests/diagnostics/undefined-in-preprocessor-conditional.slang.expected
AgeCommit message (Collapse)Author
2019-02-13Fix typos in diagnostic message and comments (#843)jsmall-nvidia
* * Fix some comment typos * Fix typo in diagnostic message * Fix typo in expected output of undefined-in-preprocessor-conditional
2018-09-19Warn when undefined identifier used in preprocessor conditional (#642)Tim Foley
This can mask an error when the user either typos a macro name when writing a conditional, or (as was the case for the user who pointed out this issue) they mistakenly assume that a `#define` in an `import`ed file has been made visible to them. This change just adds the warning in the obvious place, with a test code to ensure it triggers.