blob: e34ecee888ae66ea1f26c0560afdff9d38d39f0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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()
^~~
tests/preprocessor/include-a.slang.h(3): note: see previous definition of 'bar'
int bar()
^~~
tests/preprocessor/include-a.slang.h(3): error 30201: function 'bar' already has a body
int bar()
^~~
tests/preprocessor/include-a.slang.h(3): note: see previous definition of 'bar'
int bar()
^~~
}
standard output = {
}
|