summaryrefslogtreecommitdiffstats
path: root/tests/preprocessor/warning.slang.expected
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-05-11 15:05:12 -0700
committerGitHub <noreply@github.com>2018-05-11 15:05:12 -0700
commit34ecdb71c04232fba4b097f04fc358c57e704e26 (patch)
treed501e102badf434af696836c708ad70cdbb379be /tests/preprocessor/warning.slang.expected
parent5e604a6f39ef8e8086702d41113ea78856804c99 (diff)
Add tests for custom #error and #warning messages (#562)
Resolves #310 The behavior was fixed in #484, but that change didn't add test cases to cover the new functionality.
Diffstat (limited to 'tests/preprocessor/warning.slang.expected')
-rw-r--r--tests/preprocessor/warning.slang.expected6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/preprocessor/warning.slang.expected b/tests/preprocessor/warning.slang.expected
new file mode 100644
index 000000000..0c765e31b
--- /dev/null
+++ b/tests/preprocessor/warning.slang.expected
@@ -0,0 +1,6 @@
+result code = 0
+standard error = {
+tests/preprocessor/warning.slang(9): warning 15901: #warning: You wouldn't like me when I'm angry...
+}
+standard output = {
+}