blob: 3c5ef5d07296e12a5968c1ae6d0cedbeaa451740 (
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 = {
}
|