diff --git a/test/integration/bad/function-signatures/overloading/stanc.expected b/test/integration/bad/function-signatures/overloading/stanc.expected index 726e5a01e9..e84c9aed19 100644 --- a/test/integration/bad/function-signatures/overloading/stanc.expected +++ b/test/integration/bad/function-signatures/overloading/stanc.expected @@ -1,21 +1,22 @@ $ ../../../../../../install/default/bin/stanc define_extern1.stan -Semantic error in 'define_extern1.stan', line 2, column 33 to line 5, column 3: +Semantic error in 'define_extern1.stan', line 3, column 2 to line 5, column 3: ------------------------------------------------- 1: functions { 2: @extern real foo(int x, int y); - ^ 3: real foo(int x, int y){ + ^ 4: return 1.0; + 5: } ------------------------------------------------- Function 'foo' has already been declared for signature (int, int) => real $ ../../../../../../install/default/bin/stanc define_extern2.stan -Semantic error in 'define_extern2.stan', line 2, column 33 to line 3, column 25: +Semantic error in 'define_extern2.stan', line 3, column 2 to column 25: ------------------------------------------------- 1: functions { 2: @extern real foo(int x, int y); - ^ 3: real foo(int x, int y); + ^ 4: } -------------------------------------------------