summaryrefslogtreecommitdiffstats
path: root/tests/preprocessor/include-multiple.slang.expected
blob: f9facb349da1dae4d6592f5e38e37392eb1165a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
result code = -1
standard error = {
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'
int bar() { return foo(); }
    ^~~
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'
int bar() { return foo(); }
    ^~~
}
standard output = {
}