summaryrefslogtreecommitdiffstats
path: root/tests/preprocessor/output-includes.slang.expected
blob: 84f0a4411f560086a1d99d9e67b4bb3a5ba44d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
result code = -1
standard error = {
(0): note: include 'tests/preprocessor/output-includes.slang'
(0): note: include   'tests/preprocessor/include-a.slang.h'
(0): note: include   'tests/preprocessor/include/include-pragma-once-c.h'
(0): note: include     'tests/preprocessor/include/pragma-once-c.h'
(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 = {
}