source: tests/bugs/20.cfa @ a3d3efc

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since a3d3efc was 4d23dd2, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Added tests cases for some of the opened tickets

  • Property mode set to 100644
File size: 201 bytes
Line 
1// Trac ticket
2// https://cforall.uwaterloo.ca/trac/ticket/20
3
4struct foo {
5        int i;
6};
7
8void ?{}( foo & this, zero_t zero ) {
9        this.i = zero;
10}
11
12extern void bar( foo this = 0 );
13
14int main() {
15        bar();
16}
Note: See TracBrowser for help on using the repository browser.