Last change
on this file since 4be0117 was 641707d, checked in by Andrew Beach <ajbeach@…>, 7 months ago |
More fixing of warnings. Including another error that slipped through to the build and the rest of the 'easy' fixes on tests not in a directory.
|
-
Property mode
set to
100644
|
File size:
475 bytes
|
Line | |
---|
1 | int ?*?( int, int ) {
|
---|
2 | return 0;
|
---|
3 | }
|
---|
4 |
|
---|
5 | int ?()( int number1, int number2 ) {
|
---|
6 | return number1 * number2;
|
---|
7 | }
|
---|
8 |
|
---|
9 | int ?+?( int, int ) {
|
---|
10 | return 0;
|
---|
11 | }
|
---|
12 |
|
---|
13 | int ?=?( int &, int ) {
|
---|
14 | return 0;
|
---|
15 | }
|
---|
16 | struct accumulator {
|
---|
17 | int total;
|
---|
18 | };
|
---|
19 |
|
---|
20 | char ?()( struct accumulator, char, char ) {
|
---|
21 | return 'a';
|
---|
22 | }
|
---|
23 |
|
---|
24 | void f( void ) {
|
---|
25 | char a = 0, b = 0;
|
---|
26 | ?()( a, b );
|
---|
27 | a(b);
|
---|
28 | a + b;
|
---|
29 | }
|
---|
30 |
|
---|
31 | int main() {
|
---|
32 | /* code */
|
---|
33 | printf( "done\n" ); // non-empty .expect file
|
---|
34 | }
|
---|
35 |
|
---|
36 | // Local Variables: //
|
---|
37 | // tab-width: 4 //
|
---|
38 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.