source: tests/operators.c @ bdff89d

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since bdff89d was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Moved up many directories in source

  • Property mode set to 100644
File size: 485 bytes
Line 
1int ?*?( int a, int b ) {
2        return 0;
3}
4
5int ?()( int number1, int number2 ) {
6        return number1 * number2;
7}
8
9int ?+?( int a, int b ) {
10        return 0;
11}
12
13int ?=?( int &a, int b ) {
14        return 0;
15}
16struct accumulator {
17        int total;
18};
19
20char ?()( struct accumulator a, char number1, char number2 ) {
21        return 'a';
22}
23
24void f( void ) {
25        char a, b;
26        ?()( a, b );
27        a(b);
28        a + b;
29}
30
31int main(int argc, char const *argv[]) {
32        /* code */
33        return 0;
34}
35
36// Local Variables: //
37// tab-width: 4 //
38// End: //
Note: See TracBrowser for help on using the repository browser.