source: tests/bugs/194.cfa @ 4d23dd2

arm-ehjacob/cs343-translationnew-astnew-ast-unique-expr
Last change on this file since 4d23dd2 was 4d23dd2, checked in by Thierry Delisle <tdelisle@…>, 17 months ago

Added tests cases for some of the opened tickets

  • Property mode set to 100644
File size: 290 bytes
Line 
1// Trac ticket
2// https://cforall.uwaterloo.ca/trac/ticket/194
3
4forall( dtype T | sized(T) ) T * foo( void ) {
5      printf( "foo1\n" );
6        return (T *)0;
7}
8forall( dtype T | sized(T) ) T & foo( void ) {
9        printf( "foo2\n" );
10        return (T &)*(T *)0;
11}
12int main( void ) {
13      int * i = foo();
14}
Note: See TracBrowser for help on using the repository browser.