source:
src/tests/operators.c
@
b2da0574
Last change on this file since b2da0574 was 3d2b7bc, checked in by , 7 years ago | |
---|---|
|
|
File size: 485 bytes |
Rev | Line | |
---|---|---|
[e5b96bf] | 1 | int ?*?( int a, int b ) { |
2 | return 0; | |
3 | } | |
[62edde5] | 4 | |
5 | int ?()( int number1, int number2 ) { | |
6 | return number1 * number2; | |
7 | } | |
8 | ||
[e5b96bf] | 9 | int ?+?( int a, int b ) { |
10 | return 0; | |
11 | } | |
[62edde5] | 12 | |
[2afec66] | 13 | int ?=?( int &a, int b ) { |
[e5b96bf] | 14 | return 0; |
15 | } | |
[62edde5] | 16 | struct accumulator { |
17 | int total; | |
18 | }; | |
19 | ||
[e5b96bf] | 20 | char ?()( struct accumulator a, char number1, char number2 ) { |
21 | return 'a'; | |
22 | } | |
[62edde5] | 23 | |
24 | void f( void ) { | |
25 | char a, b; | |
26 | ?()( a, b ); | |
27 | a(b); | |
28 | a + b; | |
29 | } | |
30 | ||
[e5b96bf] | 31 | int main(int argc, char const *argv[]) { |
32 | /* code */ | |
33 | return 0; | |
34 | } | |
35 | ||
[62edde5] | 36 | // Local Variables: // |
37 | // tab-width: 4 // | |
38 | // End: // |
Note: See TracBrowser
for help on using the repository browser.