source: tests/bugs/.expect/104.txt @ 4d23dd2

arm-ehjacob/cs343-translationnew-astnew-ast-unique-expr
Last change on this file since 4d23dd2 was 4d23dd2, checked in by Thierry Delisle <tdelisle@…>, 17 months ago

Added tests cases for some of the opened tickets

  • Property mode set to 100644
File size: 2.8 KB
Line 
1bugs/104.cfa:7:163: error: expected ‘;’, ‘,’ or ‘)’ before ‘=’ token
2 void modf(T);
3                                                                                                                                                                   ^
4bugs/104.cfa:7:202: error: expected ‘;’, ‘,’ or ‘)’ before ‘__attribute__’
5 void modf(T);
6                                                                                                                                                                                                          ^           
7bugs/104.cfa: In function ‘_adapterFS8_tuple2__ff__f_P_P’:
8bugs/104.cfa:9:41: error: expected ‘)’ before ‘,’ token
9 int main() {
10                                         ^
11                                         )
12bugs/104.cfa:9:4: error: expected ‘)’ before ‘*’ token
13 int main() {
14    ^ ~
15    )
16bugs/104.cfa:9:24: note: to match this ‘(’
17 int main() {
18                        ^
19bugs/104.cfa:9:8: error: expected ‘)’ before ‘_X13_retval_modf_T2Y1TY1T_1’
20 int main() {
21        ^~~~~                     
22        )
23bugs/104.cfa:9:23: note: to match this ‘(’
24 int main() {
25                       ^
26bugs/104.cfa:9:56: error: expected ‘)’ before ‘,’ token
27 int main() {
28                                                        ^
29                                                        )
30bugs/104.cfa:6:4: error: expected ‘)’ before ‘(’ token
31 forall(otype T | { [T, T] modf_(T); })
32    ^ ~
33    )
34bugs/104.cfa:9:39: note: to match this ‘(’
35 int main() {
36                                       ^
37bugs/104.cfa:6:31: error: expected ‘)’ before ‘_adaptee’
38 forall(otype T | { [T, T] modf_(T); })
39                               ^~~~~~~~
40                               )
41bugs/104.cfa:9:38: note: to match this ‘(’
42 int main() {
43                                      ^
44bugs/104.cfa: In function ‘_X4mainFi___1’:
45bugs/104.cfa:10:16: warning: implicit declaration of function ‘_X4modfQ1_0_0_5__X16_operator_assignFBD0_BD0BD0__X12_constructorFv_BD0__X12_constructorFv_BD0BD0__X11_destructorFv_BD0__X5modf_FT2BD0BD0_BD0__Fv_BD0__1’; did you mean ‘_X21_operator_exponentialQ1_0_0_6__X16_operator_assignFBD0_BD0BD0__X12_constructorFv_BD0__X12_constructorFv_BD0BD0__X11_destructorFv_BD0__X12_constructorFv_BD0O__X18_operator_multiplyFBD0_BD0BD0__FBD0_BD0m__1’? [-Wimplicit-function-declaration]
46     modf(7.0f);
47                ^                                                                                                                                                     
48                _X21_operator_exponentialQ1_0_0_6__X16_operator_assignFBD0_BD0BD0__X12_constructorFv_BD0__X12_constructorFv_BD0BD0__X11_destructorFv_BD0__X12_constructorFv_BD0O__X18_operator_multiplyFBD0_BD0BD0__FBD0_BD0m__1
Note: See TracBrowser for help on using the repository browser.