ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumwith_gc
Last change
on this file since 55c7577 was
2afec66,
checked in by Rob Schluntz <rschlunt@…>, 7 years ago
|
Update several tests for references
|
-
Property mode set to
100644
|
File size:
534 bytes
|
Line | |
---|
1 | int ?*?( int a, int b ) { |
---|
2 | return 0; |
---|
3 | } |
---|
4 | |
---|
5 | int ?()( int number1, int number2 ) { |
---|
6 | return number1 * number2; |
---|
7 | } |
---|
8 | |
---|
9 | int ?+?( int a, int b ) { |
---|
10 | return 0; |
---|
11 | } |
---|
12 | |
---|
13 | int ?=?( int &a, int b ) { |
---|
14 | return 0; |
---|
15 | } |
---|
16 | struct accumulator { |
---|
17 | int total; |
---|
18 | }; |
---|
19 | |
---|
20 | char ?()( struct accumulator a, char number1, char number2 ) { |
---|
21 | return 'a'; |
---|
22 | } |
---|
23 | |
---|
24 | void f( void ) { |
---|
25 | char a, b; |
---|
26 | ?()( a, b ); |
---|
27 | a(b); |
---|
28 | a + b; |
---|
29 | struct accumulator ?+?; // why not, eh? |
---|
30 | a + b; |
---|
31 | } |
---|
32 | |
---|
33 | int main(int argc, char const *argv[]) { |
---|
34 | /* code */ |
---|
35 | return 0; |
---|
36 | } |
---|
37 | |
---|
38 | // Local Variables: // |
---|
39 | // tab-width: 4 // |
---|
40 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.