Skip to content

Commit 0013492

Browse files
committed
Dune promote
1 parent 54441cb commit 0013492

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/integration/bad/function-signatures/overloading/stanc.expected

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
$ ../../../../../../install/default/bin/stanc define_extern1.stan
2-
Semantic error in 'define_extern1.stan', line 2, column 33 to line 5, column 3:
2+
Semantic error in 'define_extern1.stan', line 3, column 2 to line 5, column 3:
33
-------------------------------------------------
44
1: functions {
55
2: @extern real foo(int x, int y);
6-
^
76
3: real foo(int x, int y){
7+
^
88
4: return 1.0;
9+
5: }
910
-------------------------------------------------
1011

1112
Function 'foo' has already been declared for signature (int, int) => real
1213
$ ../../../../../../install/default/bin/stanc define_extern2.stan
13-
Semantic error in 'define_extern2.stan', line 2, column 33 to line 3, column 25:
14+
Semantic error in 'define_extern2.stan', line 3, column 2 to column 25:
1415
-------------------------------------------------
1516
1: functions {
1617
2: @extern real foo(int x, int y);
17-
^
1818
3: real foo(int x, int y);
19+
^
1920
4: }
2021
-------------------------------------------------
2122

0 commit comments

Comments
 (0)