summaryrefslogtreecommitdiff
path: root/tests/preprocessor/output-includes.slang.expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/preprocessor/output-includes.slang.expected')
-rw-r--r--tests/preprocessor/output-includes.slang.expected4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/preprocessor/output-includes.slang.expected b/tests/preprocessor/output-includes.slang.expected
index 791621aa3..84f0a4411 100644
--- a/tests/preprocessor/output-includes.slang.expected
+++ b/tests/preprocessor/output-includes.slang.expected
@@ -7,8 +7,12 @@ standard error = {
(0): note: include 'tests/preprocessor/include-a.slang.h'
(0): note: include 'tests/preprocessor/include-a.slang.h'
tests/preprocessor/include-a.slang.h(3): error 30201: function 'bar' already has a body
+int bar() { return foo(); }
+ ^~~
tests/preprocessor/include-a.slang.h(3): note: see previous definition of 'bar'
tests/preprocessor/include-a.slang.h(3): error 30201: function 'bar' already has a body
+int bar() { return foo(); }
+ ^~~
tests/preprocessor/include-a.slang.h(3): note: see previous definition of 'bar'
}
standard output = {